Commit a91f8a82 authored by Jim Fulton's avatar Jim Fulton Committed by GitHub

Merge pull request #3 from zopefoundation/get-current

fixed a bug in loadBefore
parents c9d51f54 2f9997a3
...@@ -192,7 +192,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage): ...@@ -192,7 +192,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
start_tid = tids[i] start_tid = tids[i]
j = i + 1 j = i + 1
if j == len(tids): if j == len(tids):
return None # the caller can't deal with current data end_tid = None
else: else:
end_tid = tids[j] end_tid = tids[j]
data = self.loadSerial(oid, start_tid) data = self.loadSerial(oid, start_tid)
......
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