Commit f6b665bb authored by Jim Fulton's avatar Jim Fulton

Fixed a bug that occurs in cases when objects without _p_jar

attributes are registered.
parent 6e7e20ea
......@@ -84,8 +84,8 @@
##############################################################################
"""Transaction management
$Id: Transaction.py,v 1.22 2000/05/30 19:03:27 jim Exp $"""
__version__='$Revision: 1.22 $'[11:-2]
$Id: Transaction.py,v 1.23 2000/06/05 11:04:32 jim Exp $"""
__version__='$Revision: 1.23 $'[11:-2]
import time, sys, struct, POSException
from struct import pack
......@@ -239,7 +239,7 @@ class Transaction:
try:
for o in objects:
j=getattr(o, '_p_jar', o)
if j is None: continue
if j is not None:
i=id(j)
if not jars.has_key(i):
jars[i]=j
......
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