[Zope3-checkins] CVS: Zope3/src/zope/app/startup - bootstrap.py:1.3.4.1

runyaga runyaga@thisbox.com
Wed, 5 Feb 2003 11:06:13 -0500


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

Modified Files:
      Tag: paris-copypasterename-branch
	bootstrap.py 
Log Message:
enable the copy stuff in the UI and
changes to the contents model


=== Zope3/src/zope/app/startup/bootstrap.py 1.3 => 1.3.4.1 ===
--- Zope3/src/zope/app/startup/bootstrap.py:1.3	Mon Dec 30 09:03:19 2002
+++ Zope3/src/zope/app/startup/bootstrap.py	Wed Feb  5 11:06:10 2003
@@ -29,7 +29,7 @@
 from zope.app.services.hub import ObjectHub
 from zope.app.services.event import EventService
 from zope.app.services.errorr import ErrorReportingService
-
+from zope.app.services.principalannotation import PrincipalAnnotationService
 
 def bootstrapInstance(db):
     """Bootstrap a Zope3 instance given a database object.
@@ -68,6 +68,8 @@
     addConfigureService(root_folder, 'HubIds', ObjectHub)
     addConfigureService(root_folder, 'ErrorReportingService',
                         ErrorReportingService, copy_to_zlog=True)
+    addConfigureService(root_folder, 'PrincipalAnnotation', \
+                        PrincipalAnnotationService)
 
 def addConfigureService(root_folder, service_type, service_factory, **kw):
     """Add and configure a service to the root folder."""