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

Fred L. Drake, Jr. fred at zope.com
Mon Oct 20 14:41:17 EDT 2003


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

Modified Files:
	bootstrap.py 
Log Message:
normalize whitespace


=== Zope3/src/zope/app/process/bootstrap.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.9	Sun Sep 21 13:32:34 2003
+++ Zope3/src/zope/app/process/bootstrap.py	Mon Oct 20 14:41:15 2003
@@ -86,12 +86,12 @@
     def ensureObject(self, object_name, object_type, object_factory):
         """Check that there's a basic object in the service
         manager. If not, add one.
-        
+
         Return the name added, if we added an object, otherwise None.
         """
         package = getServiceManagerDefault(self.root_folder)
         valid_objects = [ name
-                          for name in package 
+                          for name in package
                           if object_type.isImplementedBy(package[name]) ]
         if valid_objects:
             return None
@@ -137,20 +137,20 @@
             pub = self.service_manager.queryLocalService(EventPublication)
             name = zapi.getName(pub)
             configureService(self.root_folder, EventSubscription, name)
-    
+
         # Add the HubIds service, which subscribes itself to the event service
         name = self.ensureService(HubIds, ObjectHub)
         # Add a Registration object so that the Hub has something to do.
-        name = self.ensureObject('Registration', 
+        name = self.ensureObject('Registration',
                                  ISubscriptionControl, Registration)
         if name:
             package = getServiceManagerDefault(self.root_folder)
             reg = package[name]
             # It's possible that we would want to reindex all objects when
             # this is added - this seems like a very site-specific decision,
-            # though. 
+            # though.
             reg.subscribe()
-            
+
 
         # Sundry other services
         self.ensureService(ErrorLogging,




More information about the Zope3-Checkins mailing list