Commit 78146725 authored by Jeremy Hylton's avatar Jeremy Hylton

But we do.

The comment long ago fell out of synch with the code.
parent 90476555
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Database connection support """Database connection support
$Id: Connection.py,v 1.116 2004/01/14 18:42:13 jeremy Exp $""" $Id: Connection.py,v 1.117 2004/01/14 18:58:08 jeremy Exp $"""
import logging import logging
import sys import sys
...@@ -295,7 +295,6 @@ class Connection(ExportImport, object): ...@@ -295,7 +295,6 @@ class Connection(ExportImport, object):
# new object # new object
self._creating.append(oid) self._creating.append(oid)
else: else:
#XXX We should never get here
if invalid(oid) and not hasattr(object, '_p_resolveConflict'): if invalid(oid) and not hasattr(object, '_p_resolveConflict'):
raise ConflictError(object=obj) raise ConflictError(object=obj)
self._modified.append(oid) self._modified.append(oid)
......
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