Mercurial > p > roundup > code
view roundup/anypy/dbm_.py @ 6561:01a5dd90286e
Remove unused report_stats
I think it was supposed to be self.report_stats. But self.report_stats
= False on initialization so the code wouldn't have done anything useful
anyway.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 13 Dec 2021 23:20:52 -0500 |
| parents | d5da643b3d25 |
| children |
line wrap: on
line source
# In Python 3 the "anydbm" module was renamed to be "dbm" which is now a # package containing the various implementations. The "wichdb" module's # whichdb() function was moved to the new "dbm" module. try: # old school first because <3 had a "dbm" module too... import anydbm from whichdb import whichdb except ImportError: # python 3+ import dbm as anydbm whichdb = anydbm.whichdb
