Skip to content

Commit

Permalink
The caller can't deal with using current data from loadBefore, so hav…
Browse files Browse the repository at this point in the history
…ing an "end_tid" of None is useless.
  • Loading branch information
mcdonc committed Jun 19, 2005
1 parent b17f0a8 commit d7ed6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TemporaryStorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def loadBefore(self, oid, tid):
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)
Expand Down

0 comments on commit d7ed6c5

Please sign in to comment.