]> granicus.if.org Git - python/commit
cleanup test_dbtables to use mkdtemp. cleanup dbtables to pass txn as a
authorGregory P. Smith <greg@mad-scientist.com>
Thu, 18 Oct 2007 07:56:54 +0000 (07:56 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Thu, 18 Oct 2007 07:56:54 +0000 (07:56 +0000)
commitafed3a4552e0df61477c322f60b10d3ae59edf1c
treed1ecd46b98122ba4a6b788986106efd98386078a
parentd97110dd1bdc9a82a9191627c638cffa8118bc80
cleanup test_dbtables to use mkdtemp.  cleanup dbtables to pass txn as a
keyword argument whenever possible to avoid bugs and confusion.  (dbtables.py
line 447 self.db.get using txn as a non-keyword was an actual bug due to this)
Lib/bsddb/dbtables.py
Lib/bsddb/test/test_dbtables.py