[Erp5-report] r35821 nicolas - /erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon May 31 18:43:49 CEST 2010
Author: nicolas
Date: Mon May 31 18:43:47 2010
New Revision: 35821
URL: http://svn.erp5.org?rev=35821&view=rev
Log:
Boolean cleanup
Modified:
erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
Modified: erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py?rev=35821&r1=35820&r2=35821&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] (original)
+++ erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] Mon May 31 18:43:47 2010
@@ -665,8 +665,8 @@
return xml.xpath('string(.//*[name() == "xupdate:attribute"][@name = "portal_type"])') or None
security.declareProtected(Permissions.ModifyPortalContent, 'newObject')
- def newObject(self, object=None, xml=None, simulate=0, reset=0,
- reset_local_roles=1, reset_workflow=1):
+ def newObject(self, object=None, xml=None, simulate=False,
+ reset_local_roles=True, reset_workflow=True):
"""
modify the object with datas from
the xml (action section)
More information about the Erp5-report
mailing list