Commit 1f8da645 authored by Hanno Schlichting's avatar Hanno Schlichting

Fix aq_chain

parent 4d1ed639
...@@ -15,7 +15,9 @@ ...@@ -15,7 +15,9 @@
$Id$ $Id$
""" """
import zope.publisher.browser import zope.publisher.browser
import Acquisition
class BrowserView(zope.publisher.browser.BrowserView): class BrowserView(zope.publisher.browser.BrowserView):
...@@ -39,4 +41,4 @@ class BrowserView(zope.publisher.browser.BrowserView): ...@@ -39,4 +41,4 @@ class BrowserView(zope.publisher.browser.BrowserView):
@property @property
def aq_chain(self): def aq_chain(self):
return [self] return Acquisition.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