Commit 8f11b96f authored by Hanno Schlichting's avatar Hanno Schlichting

Simplify aq_parent

parent d6d47585
......@@ -39,7 +39,7 @@ class BrowserView(zope.publisher.browser.BrowserView):
def __setParent(self, parent):
self._parent = parent
__parent__ = property(__getParent, __setParent)
aq_parent = __parent__ = property(__getParent, __setParent)
# We provide the aq_* properties here for BBB
......@@ -49,10 +49,6 @@ class BrowserView(zope.publisher.browser.BrowserView):
aq_self = aq_inner = aq_base
@property
def aq_parent(self):
return self.__parent__
@property
def aq_chain(self):
return aq_chain(self)
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