Commit 1bdaa0e9 authored by Evan Simpson's avatar Evan Simpson

Really fixed __roles__

parent a8c860aa
......@@ -147,7 +147,8 @@ class DTMLFile(Bindings, Explicit, ClassicHTMLFile):
_Bindings_ns_class = TemplateDict
def _get__roles__(self):
return getattr(self.aq_parent, '%s__roles__' % self.__name__)
imp = getattr(self.aq_parent, '%s__roles__' % self.__name__)
return imp.__of__(self)
__roles__ = ComputedAttribute(_get__roles__, 1)
# By default, we want to look up names in our container.
......
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