[Zope3-checkins] CVS: Zope3/src/zope/app/process - bootstrap.py:1.17

Philipp von Weitershausen philikon at philikon.de
Tue Feb 24 11:51:21 EST 2004


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

Modified Files:
	bootstrap.py 
Log Message:


Added a comment that the Folder implementation is fixed in the
bootstrap process, which is really bad.




=== Zope3/src/zope/app/process/bootstrap.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.16	Tue Feb 10 22:33:39 2004
+++ Zope3/src/zope/app/process/bootstrap.py	Tue Feb 24 11:51:20 2004
@@ -20,13 +20,16 @@
 $Id$
 """
 
-from zope.app import zapi
 from transaction import get_transaction
 from zope.interface import implements
+from zope.proxy import removeAllProxies
+from zope.component.exceptions import ComponentLookupError
+
+from zope.app import zapi
 from zope.app.interfaces.event import ISubscriber
 from zope.app.traversing import traverse, traverseName
 from zope.app.publication.zopepublication import ZopePublication
-from zope.app.content.folder import rootFolder
+from zope.app.folder import rootFolder
 from zope.app.services.servicenames import HubIds, PrincipalAnnotation
 from zope.app.services.servicenames import EventPublication, EventSubscription
 from zope.app.services.servicenames import ErrorLogging, Interfaces, Utilities
@@ -38,15 +41,13 @@
 from zope.app.services.utility import LocalUtilityService
 from zope.app.services.principalannotation import PrincipalAnnotationService
 from zope.app.services.interface import LocalInterfaceService
-from zope.proxy import removeAllProxies
 from zope.app.event import function
-from zope.component.exceptions import ComponentLookupError
 from zope.app.interfaces.services.hub import ISubscriptionControl
 from zope.app.interfaces.container import INameChooser
 from zope.app.interfaces.utilities.session import \
-    IBrowserIdManager, ISessionDataContainer
+     IBrowserIdManager, ISessionDataContainer
 from zope.app.utilities.session import \
-        CookieBrowserIdManager, PersistentSessionDataContainer
+     CookieBrowserIdManager, PersistentSessionDataContainer
 from zope.app.services.utility import UtilityRegistration
 
 class BootstrapSubscriberBase:
@@ -76,6 +77,7 @@
 
         if self.root_folder is None:
             self.root_created = True
+            # ugh... we depend on the root folder implementation
             self.root_folder = rootFolder()
             root[ZopePublication.root_name] = self.root_folder
 




More information about the Zope3-Checkins mailing list