From: Benoît Pin Date: Tue, 30 Aug 2011 09:40:28 +0000 (+0200) Subject: Bugfix : la méthode « history » de la ZODB a changé d'api. X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/52c1911e3235c951d1321ce441a42d6224cfc1c8 Bugfix : la méthode « history » de la ZODB a changé d'api. --- 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