[Zope-Checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.119

Jeremy Hylton jeremy at zope.com
Tue Jan 6 16:11:44 EST 2004


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv28336

Modified Files:
	ClientStorage.py 
Log Message:
Remove questionable support for the filter argument.


=== ZODB3/ZEO/ClientStorage.py 1.118 => 1.119 ===
--- ZODB3/ZEO/ClientStorage.py:1.118	Fri Jan  2 13:43:10 2004
+++ ZODB3/ZEO/ClientStorage.py	Tue Jan  6 16:11:43 2004
@@ -709,15 +709,12 @@
                 self._tbuf.invalidate(oid, "")
         return tid, oids
 
-    def history(self, oid, version, length=1, filter=None):
+    def history(self, oid, version, length=1):
         """Storage API: return a sequence of HistoryEntry objects.
 
         This does not support the optional filter argument defined by
         the Storage API.
         """
-        if filter is not None:
-            log2(WARNING, "filter argument to history() ignored")
-        # XXX should I run filter on the results?
         return self._server.history(oid, version, length)
 
     def getSerial(self, oid):




More information about the Zope-Checkins mailing list