Commit 92a8fd12 authored by Vincent Pelletier's avatar Vincent Pelletier

Follow actual undoLog API.

The documentation of this API is innacurate, as all parameters are expected
to have default values in ZODB unit tests.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1821 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2b5dcd89
......@@ -102,7 +102,7 @@ class Storage(BaseStorage.BaseStorage,
@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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment