Commit 4bc02fde authored by Tres Seaver's avatar Tres Seaver

Merge branch 'master' of git://github.com/vpelletier/ZODB into vpelletier-master

parents 5b28e80a 858e4b19
...@@ -468,7 +468,7 @@ class FileStorage( ...@@ -468,7 +468,7 @@ class FileStorage(
if h.tid == serial: if h.tid == serial:
break break
pos = h.prev pos = h.prev
if not pos: if h.tid < serial or not pos:
raise POSKeyError(oid) raise POSKeyError(oid)
if h.plen: if h.plen:
return self._file.read(h.plen) return self._file.read(h.plen)
......
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