[Erp5-report] r12173 - /erp5/trunk/products/ERP5Type/Base.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 19 17:26:44 CET 2007


Author: nicolas
Date: Fri Jan 19 17:26:42 2007
New Revision: 12173

URL: http://svn.erp5.org?rev=12173&view=rev
Log:
Add missing argument in setattr for copy_value, thanks seb

Modified:
    erp5/trunk/products/ERP5Type/Base.py

Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=12173&r1=12172&r2=12173&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Fri Jan 19 17:26:42 2007
@@ -819,7 +819,7 @@
             value += [method()] # We should add depends here
       if copy_value:
         if not hasattr(self, storage_id):
-          setattr(self, value)
+          setattr(self, storage_id, value)
       # Pop context
       del TRANSACTION._erp5_acquisition_stack[acquisition_key]
       return value




More information about the Erp5-report mailing list