[Erp5-report] r10146 - /erp5/trunk/products/ERP5SyncML/Subscription.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 19 13:20:45 CEST 2006


Author: jerome
Date: Tue Sep 19 13:20:38 2006
New Revision: 10146

URL: http://svn.erp5.org?rev=10146&view=rev
Log:
use getParentValue instead of getParent


Modified:
    erp5/trunk/products/ERP5SyncML/Subscription.py

Modified: erp5/trunk/products/ERP5SyncML/Subscription.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/Subscription.py?rev=10146&r1=10145&r2=10146&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/Subscription.py (original)
+++ erp5/trunk/products/ERP5SyncML/Subscription.py Tue Sep 19 13:20:38 2006
@@ -281,7 +281,7 @@
       # XXX This may be a problem, if the document is changed
       # during a synchronization
       self.setLastSynchronizationDate(DateTime())
-      self.getParent().removeRemainingObjectPath(self.getPath())
+      self.getParentValue().removeRemainingObjectPath(self.getPath())
     if status == self.NOT_SYNCHRONIZED:
       self.setTempXML(None)
       self.setPartialXML(None)
@@ -536,7 +536,7 @@
     """
     Returns the object corresponding to this signature
     """
-    return self.getParent().getObjectFromGid(self.getGid())
+    return self.getParentValue().getObjectFromGid(self.getGid())
 
   def checkSynchronizationNeeded(self, object):
     """




More information about the Erp5-report mailing list