Commit ea91e245 authored by Jim Fulton's avatar Jim Fulton

Repred an id in an exception. Thanks to Toby Dickenson for spotting this.

parent ae21fee9
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
"""Database connection support """Database connection support
$Id: Connection.py,v 1.44 2001/01/18 18:21:19 jim Exp $""" $Id: Connection.py,v 1.45 2001/02/09 14:11:49 jim Exp $"""
__version__='$Revision: 1.44 $'[11:-2] __version__='$Revision: 1.45 $'[11:-2]
from cPickleCache import PickleCache from cPickleCache import PickleCache
from POSException import ConflictError, ExportError from POSException import ConflictError, ExportError
...@@ -487,7 +487,7 @@ class Connection(ExportImport.ExportImport): ...@@ -487,7 +487,7 @@ class Connection(ExportImport.ExportImport):
# notifications between the time we check and the time we # notifications between the time we check and the time we
# read. # read.
invalid=self._invalid invalid=self._invalid
if invalid(oid) or invalid(None): raise ConflictError, oid if invalid(oid) or invalid(None): raise ConflictError, `oid`
file=StringIO(p) file=StringIO(p)
unpickler=Unpickler(file) unpickler=Unpickler(file)
......
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