Commit 20f41ab5 authored by Florent Guillaume's avatar Florent Guillaume

Workaround for aq_acquire bug (Collector 1730).

parent b2b8168b
...@@ -308,7 +308,7 @@ def restrictedTraverse(object, path, securityManager, ...@@ -308,7 +308,7 @@ def restrictedTraverse(object, path, securityManager,
raise Unauthorized, name raise Unauthorized, name
else: else:
# Try an attribute. # Try an attribute.
o = guarded_getattr(object, name, M) o = guarded_getattr(object, str(name), M) # failed on u'aq_parent'
if o is M: if o is M:
# Try an item. # Try an item.
try: try:
......
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