[Zope-Checkins] CVS: Zope2 - UndoLogCompatible.py:1.3

Jim Fulton jim@digicool.com
Tue, 10 Apr 2001 19:12:37 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak:/tmp/cvs-serv12182

Modified Files:
	UndoLogCompatible.py 
Log Message:
Added argument defaults to conform to spec for undoLog.



--- Updated File UndoLogCompatible.py in package Zope2/lib/python/ZODB --
--- UndoLogCompatible.py	2000/06/02 20:07:49	1.2
+++ UndoLogCompatible.py	2001/04/10 23:12:36	1.3
@@ -87,7 +87,7 @@
 
 class UndoLogCompatible:
 
-    def undoInfo(self, first, last, specification):
+    def undoInfo(self, first=0, last=-20, specification=None):
         if specification:
             def filter(desc, spec=specification.items()):
                 get=desc.get



--- Updated File UndoLogCompatible.py in package Zope2 --
--- UndoLogCompatible.py	2000/06/02 20:07:49	1.2
+++ UndoLogCompatible.py	2001/04/10 23:12:36	1.3
@@ -87,7 +87,7 @@
 
 class UndoLogCompatible:
 
-    def undoInfo(self, first, last, specification):
+    def undoInfo(self, first=0, last=-20, specification=None):
         if specification:
             def filter(desc, spec=specification.items()):
                 get=desc.get