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

Jim Fulton jim at zope.com
Mon Sep 15 16:48:21 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	bootstrap.py 
Log Message:
Woo hoo. The tests all pass. Zope even runs. :)


=== Zope3/src/zope/app/process/bootstrap.py 1.8.2.3 => 1.8.2.4 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.8.2.3	Mon Sep 15 14:12:37 2003
+++ Zope3/src/zope/app/process/bootstrap.py	Mon Sep 15 16:48:20 2003
@@ -90,8 +90,9 @@
         Return the name added, if we added an object, otherwise None.
         """
         package = getServiceManagerDefault(self.root_folder)
-        valid_objects = [ obj for obj in package 
-                          if object_type.isImplementedBy(obj) ]
+        valid_objects = [ name
+                          for name in package 
+                          if object_type.isImplementedBy(package[name]) ]
         if valid_objects:
             return None
         name = object_name + '-1'




More information about the Zope3-Checkins mailing list