Commit 78a1ca3e authored by Hanno Schlichting's avatar Hanno Schlichting

__of__ should take an argument, even if we ignore it

parent 93b4fe73
......@@ -22,7 +22,7 @@ class BrowserView(zope.publisher.browser.BrowserView):
# BBB for code that expects BrowserView to still inherit from
# Acquisition.Explicit.
def __of__(self):
def __of__(self, context):
return self
# TODO we probably want to provide the aq_* properties as well
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