Commit c6508ad3 authored by Jim Fulton's avatar Jim Fulton

Fixed a bug in handling defered stores that probably doesn't affect

any current storages.
parent 9e0adc6d
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
"""Database connection support """Database connection support
$Id: Connection.py,v 1.34 2000/05/24 20:53:34 shane Exp $""" $Id: Connection.py,v 1.35 2000/07/01 20:35:03 jim Exp $"""
__version__='$Revision: 1.34 $'[11:-2] __version__='$Revision: 1.35 $'[11:-2]
from cPickleCache import PickleCache from cPickleCache import PickleCache
from POSException import ConflictError, ExportError from POSException import ConflictError, ExportError
...@@ -361,6 +361,9 @@ class Connection(ExportImport.ExportImport): ...@@ -361,6 +361,9 @@ class Connection(ExportImport.ExportImport):
if o is not oi: if o is not oi:
o._p_serial=s o._p_serial=s
o._p_changed=0 o._p_changed=0
elif oi == oid:
object._p_serial=s
object._p_changed=0
try: cache[oid]=object try: cache[oid]=object
except: except:
......
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