[Checkins] SVN: zc.relationship/trunk/src/zc/relationship/shared.py fixe one2onerelationship

Bernd Dorn bernd.dorn at lovelysystems.com
Tue Nov 21 07:39:12 EST 2006


Log message for revision 71238:
  fixe one2onerelationship

Changed:
  U   zc.relationship/trunk/src/zc/relationship/shared.py

-=-
Modified: zc.relationship/trunk/src/zc/relationship/shared.py
===================================================================
--- zc.relationship/trunk/src/zc/relationship/shared.py	2006-11-21 11:08:47 UTC (rev 71237)
+++ zc.relationship/trunk/src/zc/relationship/shared.py	2006-11-21 12:39:11 UTC (rev 71238)
@@ -109,9 +109,9 @@
     @apply
     def target():
         def get(self):
-            return self._sources[0]
+            return self._targets[0]
         def set(self, value):
-            self._sources = (value,)
+            self._targets = (value,)
             if interfaces.IBidirectionalRelationshipIndex.providedBy(
                 self.__parent__):
                 self.__parent__.reindex(self)



More information about the Checkins mailing list