Log message for revision 30858:
The caller can't deal with using current data from loadBefore, so having an
"end_tid" of None is useless.
Changed:
U Zope/branches/Zope-2_8-branch/lib/python/tempstorage/TemporaryStorage.py
-=-
Modified:
Zope/branches/Zope-2_8-branch/lib/python/tempstorage/TemporaryStorage.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/tempstorage/TemporaryStorage.py
2005-06-19 22:34:43 UTC (rev 30857)
+++ Zope/branches/Zope-2_8-branch/lib/python/tempstorage/TemporaryStorage.py
2005-06-19 22:36:40 UTC (rev 30858)
@@ -153,7 +153,7 @@
start_tid = tids[i]
j = i + 1
if j == len(tids):
- end_tid = None
+ return None # the caller can't deal with current data
else:
end_tid = tids[j]
data = self.loadSerial(oid, start_tid)
_______________________________________________
Zope-Checkins maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope-checkins