[Zodb-checkins] CVS: Zope/lib/python/ZODB - ConflictResolution.py:1.7

Chris McDonough chrism@zope.com
Wed, 3 Oct 2001 16:52:01 -0400


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv7840

Modified Files:
	ConflictResolution.py 
Log Message:
Had an incorrect index into the class_tuple in bad_class.  :-(


=== Zope/lib/python/ZODB/ConflictResolution.py 1.6 => 1.7 ===
 bad_classes={}
 def bad_class(class_tuple):
-    if bad_classes.has_key(class_tuple) or class_tuple[0][1] == '*':
+    if bad_classes.has_key(class_tuple) or class_tuple[0][0] == '*':
         # if we've seen the class before or if it's a ZClass, we know that
         # we can't resolve the conflict
         return 1