[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/ClientStorage.py Renamed the length argument to history to be consistent with the

Jim Fulton jim at zope.com
Sat Oct 18 13:34:27 EDT 2008


Log message for revision 92361:
  Renamed the length argument to history to be consistent with the
  history interface.
  

Changed:
  U   ZODB/trunk/src/ZEO/ClientStorage.py

-=-
Modified: ZODB/trunk/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/trunk/src/ZEO/ClientStorage.py	2008-10-18 17:34:24 UTC (rev 92360)
+++ ZODB/trunk/src/ZEO/ClientStorage.py	2008-10-18 17:34:26 UTC (rev 92361)
@@ -685,10 +685,10 @@
             raise POSException.StorageTransactionError(self._transaction,
                                                        trans)
 
-    def history(self, oid, length=1):
+    def history(self, oid, size=1):
         """Storage API: return a sequence of HistoryEntry objects.
         """
-        return self._server.history(oid, length)
+        return self._server.history(oid, size)
 
     def record_iternext(self, next=None):
         """Storage API: get the next database record.



More information about the Zodb-checkins mailing list