[Zodb-checkins] SVN: ZODB/branches/jim-dev/src/ZODB/interfaces.py
Fixed signatures for two methods
Dmitry Vasiliev
dima at hlabs.spb.ru
Fri Oct 20 08:57:49 EDT 2006
Log message for revision 70842:
Fixed signatures for two methods
Changed:
U ZODB/branches/jim-dev/src/ZODB/interfaces.py
-=-
Modified: ZODB/branches/jim-dev/src/ZODB/interfaces.py
===================================================================
--- ZODB/branches/jim-dev/src/ZODB/interfaces.py 2006-10-20 12:06:14 UTC (rev 70841)
+++ ZODB/branches/jim-dev/src/ZODB/interfaces.py 2006-10-20 12:57:48 UTC (rev 70842)
@@ -620,7 +620,7 @@
"""
# Used by DB (Actually, by TransactionalUndo)
- def undoLog(first=0, last=20, filter=(lambda desc: True)):
+ def undoLog(first, last, filter=None):
"""Return a sequence of descriptions for undoable transactions.
Application code should call undoLog() on a DB instance instead of on
@@ -675,7 +675,7 @@
"""
# DB pass through
- def undoInfo(first, last, specification=None):
+ def undoInfo(first=0, last=-20, specification=None):
"""Return a sequence of descriptions for undoable transactions.
This is like `undoLog()`, except for the `specification` argument.
More information about the Zodb-checkins
mailing list