projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
daed76b
)
Bugfix : la méthode « history » de la ZODB a changé d'api.
zope-2.12
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 30 Aug 2011 09:40:28 +0000
(11:40 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 30 Aug 2011 09:40:28 +0000
(11:40 +0200)
ContentHistory.py
patch
|
blob
|
history
diff --git
a/ContentHistory.py
b/ContentHistory.py
index
45645a2
..
ab745a7
100755
(executable)
--- 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