[Zope3-checkins] CVS: Zope3/src/zope/app/services - servicecontainer.py:1.5.2.2

Jim Fulton jim at zope.com
Fri Sep 12 17:22:36 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv3657/services

Modified Files:
      Tag: parentgeddon-branch
	servicecontainer.py 
Log Message:
fixed bug in marking something a site

=== Zope3/src/zope/app/services/servicecontainer.py 1.5.2.1 => 1.5.2.2 ===
--- Zope3/src/zope/app/services/servicecontainer.py:1.5.2.1	Mon Sep  8 14:21:47 2003
+++ Zope3/src/zope/app/services/servicecontainer.py	Fri Sep 12 17:22:36 2003
@@ -53,7 +53,10 @@
         else:
             raise ValueError('setSiteManager requires an IServiceService')
 
-        zope.interface.directlyProvides(self, ISite)
+        zope.interface.directlyProvides(
+            self,
+            ISite,
+            zope.interface.directlyProvidedBy(self))
 
 
 
@@ -84,7 +87,11 @@
     except ComponentLookupError:
         pass # nothing to do
     else:
-        zope.interface.directlyProvides(folder, ISite)
+        zope.interface.directlyProvides(
+            folder,
+            ISite,
+            zope.interface.directlyProvidedBy(folder),
+            )
 
     for item in folder.values():
         if IPossibleSite.isImplementedBy(item):




More information about the Zope3-Checkins mailing list