[Erp5-report] r21064 - /erp5/trunk/products/ERP5Security/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 21 18:27:12 CEST 2008


Author: nicolas
Date: Wed May 21 18:27:12 2008
New Revision: 21064

URL: http://svn.erp5.org?rev=21064&view=rev
Log:
Fix Copy/Paste error, thanks to romain courteaud

Modified:
    erp5/trunk/products/ERP5Security/__init__.py

Modified: erp5/trunk/products/ERP5Security/__init__.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Security/__init__.py?rev=21064&r1=21063&r2=21064&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Security/__init__.py (original)
+++ erp5/trunk/products/ERP5Security/__init__.py Wed May 21 18:27:12 2008
@@ -40,7 +40,7 @@
         merged.setdefault(k, []).extend(v)
     # block acquisition
     if getattr(object, '_getAcquireLocalRoles', None) is not None:
-      if not object._getAcquireLocalRoles() is not None:
+      if not object._getAcquireLocalRoles():
         break
     if getattr(object, 'aq_parent', None) is not None:
       object = object.aq_parent




More information about the Erp5-report mailing list