Commit 39218146 authored by Aurel's avatar Aurel

explicitely named argument when calling _load


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@183 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 739c5377
......@@ -366,7 +366,7 @@ class Application(object):
"""Load an object for a given oid and serial."""
# Do not try in cache as it manages only up-to-date object
logging.debug('loading %s at %s', dump(oid), dump(serial))
return self._load(oid, serial)[0]
return self._load(oid, serial=serial)[0]
def loadBefore(self, oid, tid):
......@@ -375,7 +375,7 @@ class Application(object):
if tid is None:
tid = INVALID_TID
logging.debug('loading %s before %s', dump(oid), dump(tid))
data, start, end = self._load(oid, tid)
data, start, end = self._load(oid, tid=tid)
if end is None:
# No previous version
return None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment