[Commits] (vajda) nil

commits at osafoundation.org commits at osafoundation.org
Thu Jul 29 12:00:17 PDT 2004


Commit by: vajda
Modified files:
chandler/repository/item/PersistentCollections.py 1.15 1.16

Log message:
nil

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/repository/item/PersistentCollections.py.diff?r1=text&tr1=1.15&r2=text&tr2=1.16

Index: chandler/repository/item/PersistentCollections.py
diff -u chandler/repository/item/PersistentCollections.py:1.15 chandler/repository/item/PersistentCollections.py:1.16
--- chandler/repository/item/PersistentCollections.py:1.15	Thu Jul 29 10:37:31 2004
+++ chandler/repository/item/PersistentCollections.py	Thu Jul 29 12:00:16 2004
@@ -1,6 +1,6 @@
 
-__revision__  = "$Revision: 1.15 $"
-__date__      = "$Date: 2004/07/29 17:37:31 $"
+__revision__  = "$Revision: 1.16 $"
+__date__      = "$Date: 2004/07/29 19:00:16 $"
 __copyright__ = "Copyright (c) 2002 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -133,8 +133,9 @@
                 if isinstance(value, SingleRef):
                     value = self._restoreValue(value)
                     if value is not None:
-                        if value not in items:
-                            items[value] = value
+                        uuid = value._uuid
+                        if uuid not in items:
+                            items[uuid] = value
                             yield value
                 elif isinstance(value, PersistentCollection):
                     for v in value._getItems(items):



More information about the Commits mailing list