From: richard Date: Sat, 10 Jul 2010 03:52:45 +0000 (+0000) Subject: fix up some pre-Python2.6 compatibility issues in the *dbm interface X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=21bde8e27c60650b58562779cdecf1a755e1e5ca;p=roundup.git fix up some pre-Python2.6 compatibility issues in the *dbm interface git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4491 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/sessions_dbm.py b/roundup/backends/sessions_dbm.py index c08e353..26fa119 100644 --- a/roundup/backends/sessions_dbm.py +++ b/roundup/backends/sessions_dbm.py @@ -97,7 +97,7 @@ class BasicDatabase: def list(self): db = self.opendb('r') try: - return list(db) + return list(db.keys()) finally: db.close()