Log message for revision 30857:
  The caller can't deal with using current data from loadBefore, so having an 
"end_tid" of None is useless.
  

Changed:
  U   Zope/trunk/lib/python/tempstorage/TemporaryStorage.py

-=-
Modified: Zope/trunk/lib/python/tempstorage/TemporaryStorage.py
===================================================================
--- Zope/trunk/lib/python/tempstorage/TemporaryStorage.py       2005-06-19 
16:32:17 UTC (rev 30856)
+++ Zope/trunk/lib/python/tempstorage/TemporaryStorage.py       2005-06-19 
22:34:43 UTC (rev 30857)
@@ -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  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to