Commit 6d9b05d7 authored by Andreas Jung's avatar Andreas Jung

Following Hanno's advice

"""
Please do no longer assume everything has an AQ wrapper.
context._p_jar.add(aq_base(o))
works just as well.
"""
parent 7b5b3318
......@@ -59,7 +59,7 @@ class SimpleTrailblazer:
factory = guarded_getattr(dispatcher, 'manage_addFolder')
factory(id)
o = context.restrictedTraverse(id)
context._p_jar.add(o.aq_base)
context._p_jar.add(aq_base(o))
return o
def traverseOrConstruct(self, path, omit_final=0):
......
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