[Commits] (grant) Fix Bug 2248 (Load parcels can't handle changes
to keyed ref collections)
commits at osafoundation.org
commits at osafoundation.org
Fri Feb 4 12:06:08 PST 2005
Commit by: grant
Modified files:
chandler/application/Parcel.py 1.44 1.45
Log message:
Fix Bug 2248 (Load parcels can't handle changes to keyed ref collections)
- We were passing in the key to be deleted into Item.removeValue()'s
value slot.
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/application/Parcel.py.diff?r1=text&tr1=1.44&r2=text&tr2=1.45
Index: chandler/application/Parcel.py
diff -u chandler/application/Parcel.py:1.44 chandler/application/Parcel.py:1.45
--- chandler/application/Parcel.py:1.44 Thu Feb 3 23:41:05 2005
+++ chandler/application/Parcel.py Fri Feb 4 12:06:07 2005
@@ -1569,7 +1569,7 @@
if card == "dict":
print "Reload: item %s, unassigning %s[%s] = '%s'" % \
(self.item.itsPath, attrName, key, value)
- self.item.removeValue(attrName, key)
+ self.item.removeValue(attrName, key=key)
elif card == "list":
# First, see if this is a ref collection, since we handle those
# differently; to remove an item from a ref collection, we use
More information about the Commits
mailing list