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

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


Author: vincent
Date: Mon Feb 22 17:47:34 2010
New Revision: 1821

Log:
Follow actual undoLog API.

The documentation of this API is innacurate, as all parameters are expected
to have default values 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:34 2010
@@ -102,7 +102,7 @@
 
 
     @check_read_only
-    def undoLog(self, first, last, filter=None):
+    def undoLog(self, first=0, last=-20, filter=None):
         return self.app.undoLog(first, last, filter)
 
     def supportsUndo(self):





More information about the Neo-report mailing list