Fixes a bug with bsddb.DB.stat where the flags and txn keyword

arguments are transposed.  (reported by Louis Zechtzer)
..already committed to release24-maint
..needs committing to release25-maint
This commit is contained in:
Gregory P. Smith 2006-09-19 17:35:04 +00:00
parent 790e1944a0
commit 2fa067982c
2 changed files with 4 additions and 2 deletions

View file

@ -98,7 +98,7 @@
#error "eek! DBVER can't handle minor versions > 9"
#endif
#define PY_BSDDB_VERSION "4.4.5"
#define PY_BSDDB_VERSION "4.4.6"
static char *rcs_id = "$Id$";
@ -2430,7 +2430,7 @@ DB_stat(DBObject* self, PyObject* args, PyObject* kwargs)
#if (DBVER >= 43)
PyObject* txnobj = NULL;
DB_TXN *txn = NULL;
static char* kwnames[] = { "txn", "flags", NULL };
static char* kwnames[] = { "flags", "txn", NULL };
#else
static char* kwnames[] = { "flags", NULL };
#endif