Commit 4e9c2533 authored by Nicolas Delaby's avatar Nicolas Delaby

Fix Copy/Paste error, thanks to romain courteaud

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21064 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22bdba79
......@@ -40,7 +40,7 @@ def mergedLocalRoles(object):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment