Author: jmorliaguet
Date: Thu Oct  6 22:24:50 2005
New Revision: 28041

Modified:
   z3lab/cpsskins/branches/jmo-perspectives/storage/relations.py
Log:

- removed second condition already tested 2 lines above



Modified: z3lab/cpsskins/branches/jmo-perspectives/storage/relations.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/storage/relations.py       
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/storage/relations.py       Thu Oct 
 6 22:24:50 2005
@@ -220,8 +220,7 @@
         if not IRelation.providedBy(object):
             raise ValueError, "Only objects implementing IRelation are allowed"
         self.__btree__setitem__(key, object)
-        if IRelation.providedBy(object):
-            self._indexRelates(relation=object, id=key)
+        self._indexRelates(relation=object, id=key)
         self._p_changed = True
 
     def __delitem__(self, key):
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to