[Zope-Checkins]
SVN: Products.Five/branches/philikon-local-components/site/localsite.py
give site manager a __bases__ argument which is required in
Zope 3.3 (jim-adapter
Philipp von Weitershausen
philikon at philikon.de
Tue Apr 25 05:57:36 EDT 2006
Log message for revision 67589:
give site manager a __bases__ argument which is required in Zope 3.3 (jim-adapter
branch)
Changed:
U Products.Five/branches/philikon-local-components/site/localsite.py
-=-
Modified: Products.Five/branches/philikon-local-components/site/localsite.py
===================================================================
--- Products.Five/branches/philikon-local-components/site/localsite.py 2006-04-25 09:52:03 UTC (rev 67588)
+++ Products.Five/branches/philikon-local-components/site/localsite.py 2006-04-25 09:57:35 UTC (rev 67589)
@@ -31,6 +31,13 @@
self.context = self.__parent__ = context
@property
+ def __bases__(self):
+ next = self.next
+ if next is None:
+ return ()
+ return (next,)
+
+ @property
def next(self):
obj = self.context
while obj is not None:
More information about the Zope-Checkins
mailing list