[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager - Package.py:1.2
Jim Fulton
jim@zope.com
Sat, 30 Nov 2002 13:40:30 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager
In directory cvs.zope.org:/tmp/cvs-serv12509/lib/python/Zope/App/OFS/Services/ServiceManager
Modified Files:
Package.py
Log Message:
Changed the constructor to create the default configuration manager.
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Package.py 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Package.py:1.1 Thu Jul 11 14:21:32 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Package.py Sat Nov 30 13:40:29 2002
@@ -22,10 +22,14 @@
from Zope.App.OFS.Container.BTreeContainer import BTreeContainer
from IPackage import IPackage
+from ConfigurationManager import ConfigurationManager
class Package(BTreeContainer):
__implements__ = IPackage
-
+ def __init__(self):
+ super(Package, self).__init__()
+ self.setObject('configure', ConfigurationManager())
+