Commit b59fbe42 authored by Grégory Wisniewski's avatar Grégory Wisniewski

The filter parameter of undoLog is optional.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1803 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ba283431
...@@ -100,7 +100,7 @@ class Storage(BaseStorage.BaseStorage, ...@@ -100,7 +100,7 @@ class Storage(BaseStorage.BaseStorage,
tryToResolveConflict=self.tryToResolveConflict) tryToResolveConflict=self.tryToResolveConflict)
def undoLog(self, first, last, filter): def undoLog(self, first, last, filter=None):
if self._is_read_only: if self._is_read_only:
raise POSException.ReadOnlyError() raise POSException.ReadOnlyError()
return self.app.undoLog(first, last, filter) return self.app.undoLog(first, last, filter)
......
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