[Erp5-report] r21514 - /erp5/trunk/products/ERP5Type/Accessor/Acquired.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 11 18:37:03 CEST 2008


Author: romain
Date: Wed Jun 11 18:37:02 2008
New Revision: 21514

URL: http://svn.erp5.org?rev=21514&view=rev
Log:
Prevent 'multiple values for keyword argument' error.

Modified:
    erp5/trunk/products/ERP5Type/Accessor/Acquired.py

Modified: erp5/trunk/products/ERP5Type/Accessor/Acquired.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Accessor/Acquired.py?rev=21514&r1=21513&r2=21514&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Accessor/Acquired.py (original)
+++ erp5/trunk/products/ERP5Type/Accessor/Acquired.py Wed Jun 11 18:37:02 2008
@@ -100,7 +100,7 @@
             acquisition_object_id=self._acquisition_object_id,
             is_list_type=is_list_type,
             is_tales_type=is_tales_type,
-            **kw
+            checked_permission=kw.get('checked_permission', None),
             )
 
     psyco.bind(__call__)
@@ -179,7 +179,7 @@
             acquisition_object_id=self._acquisition_object_id,
             is_list_type=is_list_type,
             is_tales_type=is_tales_type,
-            **kw
+            checked_permission=kw.get('checked_permission', None),
             )
 
     psyco.bind(__call__)




More information about the Erp5-report mailing list