diff roundup/backends/back_anydbm.py @ 4342:94c992852f12

add in-memory hyperdb implementation to speed up testing
author Richard Jones <richard@users.sourceforge.net>
date Tue, 02 Feb 2010 04:44:18 +0000
parents b87d022a2f40
children 0e33bf5571dc
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py	Mon Feb 01 05:59:10 2010 +0000
+++ b/roundup/backends/back_anydbm.py	Tue Feb 02 04:44:18 2010 +0000
@@ -950,7 +950,7 @@
                 raise ValueError, 'Journalling is disabled for this class'
             journal = self.db.getjournal(self.classname, nodeid)
             if journal:
-                return self.db.getjournal(self.classname, nodeid)[0][1]
+                return journal[0][1]
             else:
                 # on the strange chance that there's no journal
                 return date.Date()

Roundup Issue Tracker: http://roundup-tracker.org/