Skip to content

Commit f6be6bf

Browse files
author
Richard Jones
committed
fix up some pre-Python2.6 compatibility issues in the *dbm interface
1 parent 67308c7 commit f6be6bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/backends/sessions_dbm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def set(self, infoid, **newvalues):
9797
def list(self):
9898
db = self.opendb('r')
9999
try:
100-
return list(db)
100+
return list(db.keys())
101101
finally:
102102
db.close()
103103

0 commit comments

Comments
 (0)