diff options
author | jbj <devnull@localhost> | 2003-11-23 19:50:52 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-11-23 19:50:52 +0000 |
commit | 3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08 (patch) | |
tree | a78f3112c1c5b7b5c8cd2ce4307056c3db758c35 /python/_rpmdb.c | |
parent | fda9ddca9bcd46cefc145c14cfd901906600c9d2 (diff) | |
download | rpm-3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08.tar.gz rpm-3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08.tar.bz2 rpm-3dcfeb3f9aaf003f29d2c8c0c3a545953f529c08.zip |
Merge changes from rpm-4.2.1 development.
CVS patchset: 6959
CVS date: 2003/11/23 19:50:52
Diffstat (limited to 'python/_rpmdb.c')
-rw-r--r-- | python/_rpmdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/_rpmdb.c b/python/_rpmdb.c index 5a10bf893..659485400 100644 --- a/python/_rpmdb.c +++ b/python/_rpmdb.c @@ -579,7 +579,7 @@ static PyObject* _DBCursor_get(DBCursorObject* self, int extra_flags, char* kwnames[] = { "flags", "dlen", "doff", NULL }; if (!PyArg_ParseTupleAndKeywords(args, kwargs, format, kwnames, - &flags, &dlen, &doff)) + &flags, &dlen, &doff)) return NULL; CHECK_CURSOR_NOT_CLOSED(self); @@ -1634,7 +1634,7 @@ DB_open(DBObject* self, PyObject* args, PyObject* kwargs) * explicitly passed) but we are in a transaction ready environment: * add DB_AUTO_COMMIT to allow for older pybsddb apps using transactions * to work on BerkeleyDB 4.1 without needing to modify their - * DBEnv or DB open calls. + * DBEnv or DB open calls. * TODO make this behaviour of the library configurable. */ flags |= DB_AUTO_COMMIT; @@ -2618,7 +2618,7 @@ DBC_get(DBCursorObject* self, PyObject* args, PyObject *kwargs) { PyErr_Clear(); if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Oi|ii:get", - &kwnames[1], + &kwnames[1], &keyobj, &flags, &dlen, &doff)) { PyErr_Clear(); |