[Zope3-checkins] CVS: Zope3/src/zope/app/process -
bootstrap.py:1.8.2.1
Jim Fulton
jim at zope.com
Fri Sep 12 15:16:02 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/process
In directory cvs.zope.org:/tmp/cvs-serv13470/src/zope/app/process
Modified Files:
Tag: parentgeddon-branch
bootstrap.py
Log Message:
Can't have the tests passing, can we?
=== Zope3/src/zope/app/process/bootstrap.py 1.8 => 1.8.2.1 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.8 Tue Sep 2 16:46:48 2003
+++ Zope3/src/zope/app/process/bootstrap.py Fri Sep 12 15:15:31 2003
@@ -97,7 +97,7 @@
name = object_name + '-1'
obj = object_factory()
obj = removeAllProxies(obj)
- package.setObject(name, obj)
+ package[name] = obj
return name
def ensureService(self, service_type, service_factory, **kw):
@@ -193,7 +193,7 @@
name = service_type + '-1'
service = service_factory()
service = removeAllProxies(service)
- package.setObject(name, service)
+ package[name] = service
# Set additional attributes on the service
for k, v in kw.iteritems():
@@ -207,7 +207,7 @@
registration = ServiceRegistration(service_type,
name,
registration_manager)
- key = registration_manager.setObject("", registration)
+ key = registration_manager.addRegistration(registration)
registration = traverseName(registration_manager, key)
registration.status = initial_status
More information about the Zope3-Checkins
mailing list