Commit 97804a45 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove questionable support for the filter argument.

parent 6ed20264
...@@ -709,15 +709,12 @@ class ClientStorage(object): ...@@ -709,15 +709,12 @@ class ClientStorage(object):
self._tbuf.invalidate(oid, "") self._tbuf.invalidate(oid, "")
return tid, oids 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. """Storage API: return a sequence of HistoryEntry objects.
This does not support the optional filter argument defined by This does not support the optional filter argument defined by
the Storage API. 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) return self._server.history(oid, version, length)
def getSerial(self, oid): def getSerial(self, oid):
......
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