X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/99afe0ce8700bf835ff7bbedf77bb46e58f996d8..d85cf9e640d2823901d8c98132e08967e52c41b6:/ContentHistory.py?ds=sidebyside diff --git a/ContentHistory.py b/ContentHistory.py index 45645a2..ab745a7 100755 --- a/ContentHistory.py +++ b/ContentHistory.py @@ -50,7 +50,7 @@ class ContentHistory(Base, Acquisition.Implicit) : def listEntries(self, first=0, last=20): oid = self._content._p_oid db = self._content._p_jar.db() - r = db.history(oid, None, last) + r = db.history(oid, size=last) if r is None: # storage doesn't support history