[Neo-report] r1822 vincent - /trunk/neo/client/Storage.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 22 17:47:40 CET 2010


Author: vincent
Date: Mon Feb 22 17:47:39 2010
New Revision: 1822

Log:
Forward lastTransaction to app, as it is (partially) implemented there.

Update comment: it is actually used in ZODB unit tests.

Modified:
    trunk/neo/client/Storage.py

Modified: trunk/neo/client/Storage.py
==============================================================================
--- trunk/neo/client/Storage.py [iso-8859-1] (original)
+++ trunk/neo/client/Storage.py [iso-8859-1] Mon Feb 22 17:47:39 2010
@@ -142,8 +142,8 @@
         raise NotImplementedError
 
     def lastTransaction(self):
-        # seems unused
-        raise NotImplementedError
+        # Used in ZODB unit tests
+        return self.app.lastTransaction()
 
     def _clear_temp(self):
         raise NotImplementedError





More information about the Neo-report mailing list