Commit 43223f1e authored by Jim Fulton's avatar Jim Fulton

Renamed the length argument to history to be consistent with the

history interface.
parent cc986bde
......@@ -685,10 +685,10 @@ class ClientStorage(object):
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.
......
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