[Neo-report] r2242 vincent - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Aug 27 22:48:40 CEST 2010
Author: vincent
Date: Fri Aug 27 22:48:38 2010
New Revision: 2242
Log:
There is no reason to hide last version in loadBefore.
Modified:
trunk/neo/client/app.py
Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Fri Aug 27 22:48:38 2010
@@ -547,12 +547,7 @@ class Application(object):
"""Load an object for a given oid before tid committed."""
# Do not try in cache as it manages only up-to-date object
logging.debug('loading %s before %s', dump(oid), dump(tid))
- data, start, end = self._load(oid, tid=tid)
- if end is None:
- # No previous version
- return None
- else:
- return data, start, end
+ return self._load(oid, tid=tid)
@profiler_decorator
More information about the Neo-report
mailing list