[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/site/tests/test_localsite.py give stub site manager a __bases__ argument which is required in Zope 3.3 (jim-adapter

Philipp von Weitershausen philikon at philikon.de
Tue Apr 25 06:00:52 EDT 2006


Log message for revision 67590:
  give stub site manager a __bases__ argument which is required in Zope 3.3 (jim-adapter
  branch)
  

Changed:
  U   Products.Five/branches/philikon-local-components/site/tests/test_localsite.py

-=-
Modified: Products.Five/branches/philikon-local-components/site/tests/test_localsite.py
===================================================================
--- Products.Five/branches/philikon-local-components/site/tests/test_localsite.py	2006-04-25 09:57:35 UTC (rev 67589)
+++ Products.Five/branches/philikon-local-components/site/tests/test_localsite.py	2006-04-25 10:00:51 UTC (rev 67590)
@@ -41,6 +41,13 @@
 class SiteManager(Implicit):
     zope.interface.implements(IComponentLookup)
 
+    @property
+    def __bases__(self):
+        next = getattr(self, 'next', None)
+        if next is None:
+            return ()
+        return (next,)
+
 class Folder(ObjectManager):
 
     def setSiteManager(self, sm):



More information about the Zope-Checkins mailing list