[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/service - __init__.py:1.1.2.3

Jim Fulton jim at zope.com
Mon Sep 15 14:12:58 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/services/service
In directory cvs.zope.org:/tmp/cvs-serv15511/src/zope/app/browser/services/service

Modified Files:
      Tag: parentgeddon-branch
	__init__.py 
Log Message:
Got lots of tests to pass.

Added a setitem helper function to be used to help satisfy container
contracts.



=== Zope3/src/zope/app/browser/services/service/__init__.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/services/service/__init__.py:1.1.2.2	Fri Sep 12 15:15:15 2003
+++ Zope3/src/zope/app/browser/services/service/__init__.py	Mon Sep 15 14:12:27 2003
@@ -384,7 +384,7 @@
         """
         if ISite.isImplementedBy(self.context):
             raise zapi.UserError('This is already a site')
-        sm = ServiceManager()
+        sm = ServiceManager(self.context)
         self.context.setSite(sm)
         self.request.response.redirect("++etc++site/")
 




More information about the Zope3-Checkins mailing list