projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Réindexation des memberdata. Refactoring.
[Plinn.git]
/
ContentHistory.py
diff --git
a/ContentHistory.py
b/ContentHistory.py
index
44247a5
..
ab745a7
100755
(executable)
--- a/
ContentHistory.py
+++ b/
ContentHistory.py
@@
-20,8
+20,8
@@
"""
Module to manage history of contents (comparisons, copy to present).
"""
Module to manage history of contents (comparisons, copy to present).
-$Id: ContentHistory.py 1450 2009-01-10 13:27:20Z pin $
-$URL: http://svn.cri.ensmp.fr/svn/Plinn/branches/CMF-2.1/ContentHistory.py $
+
+
"""
from Globals import InitializeClass
"""
from Globals import InitializeClass
@@
-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()
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
if r is None:
# storage doesn't support history