From 52c1911e3235c951d1321ce441a42d6224cfc1c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Tue, 30 Aug 2011 11:40:28 +0200 Subject: [PATCH 1/1] =?utf8?q?Bugfix=C2=A0:=20la=20m=C3=A9thode=20=C2=AB?= =?utf8?q?=C2=A0history=C2=A0=C2=BB=20de=20la=20ZODB=20a=20chang=C3=A9=20d?= =?utf8?q?'api.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ContentHistory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1