[Zope3-checkins] CVS: Zope3/src/zope/app/process - bootstrap.py:1.8
Jim Fulton
jim at zope.com
Tue Sep 2 17:47:18 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/process
In directory cvs.zope.org:/tmp/cvs-serv16881/src/zope/app/process
Modified Files:
bootstrap.py
Log Message:
Added ISite, which is a marker interface indicating that an object is
a site.
When an object is made into a site, ISite is declared for it.
Change to test whether something is a site by testing whether
it (declares it) implements ISite.
=== Zope3/src/zope/app/process/bootstrap.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.7 Sun Aug 17 02:07:26 2003
+++ Zope3/src/zope/app/process/bootstrap.py Tue Sep 2 16:46:48 2003
@@ -76,7 +76,7 @@
self.service_manager = traverse(self.root_folder, '/++etc++site')
except ComponentLookupError:
self.service_manager = ServiceManager()
- self.root_folder.setServiceManager(self.service_manager)
+ self.root_folder.setSiteManager(self.service_manager)
self.doSetup()
More information about the Zope3-Checkins
mailing list