Code

fix up some pre-Python2.6 compatibility issues in the *dbm interface
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Sat, 10 Jul 2010 03:52:45 +0000 (03:52 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Sat, 10 Jul 2010 03:52:45 +0000 (03:52 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4491 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/backends/sessions_dbm.py

index c08e353e2bab4c76c6fbd66cfe1895e785b7fd1e..26fa11918ad391b42bc78b6c9a9a31ca4c6ff098 100644 (file)
@@ -97,7 +97,7 @@ class BasicDatabase:
     def list(self):
         db = self.opendb('r')
         try:
-            return list(db)
+            return list(db.keys())
         finally:
             db.close()