Skip to content

Commit

Permalink
fix POSKeyError during commit after savepoint rollback
Browse files Browse the repository at this point in the history
see #16
  • Loading branch information
gotcha committed Mar 10, 2014
1 parent 8ef6f47 commit 9e84a83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ZODB/Connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,8 @@ def _register(self, obj=None):
def readCurrent(self, ob):
assert ob._p_jar is self
assert ob._p_oid is not None and ob._p_serial is not None
self._readCurrent[ob._p_oid] = ob._p_serial
if ob._p_serial != z64:
self._readCurrent[ob._p_oid] = ob._p_serial

# persistent.interfaces.IPersistentDatamanager
##########################################################################
Expand Down

0 comments on commit 9e84a83

Please sign in to comment.