From 4110f4e0bdee1783990fe0044f0d3aacc4939457 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Mon, 31 May 2010 16:43:47 +0000 Subject: [PATCH] Boolean cleanup git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35821 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5SyncML/Conduit/ERP5Conduit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5SyncML/Conduit/ERP5Conduit.py b/product/ERP5SyncML/Conduit/ERP5Conduit.py index 007fd99e7a..a824cac84a 100644 --- a/product/ERP5SyncML/Conduit/ERP5Conduit.py +++ b/product/ERP5SyncML/Conduit/ERP5Conduit.py @@ -665,8 +665,8 @@ class ERP5Conduit(XMLSyncUtilsMixin): 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) -- 2.30.9