[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager - Packages.py:1.5
Jim Fulton
jim@zope.com
Sat, 30 Nov 2002 13:40:57 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager
In directory cvs.zope.org:/tmp/cvs-serv12523/lib/python/Zope/App/OFS/Services/ServiceManager
Modified Files:
Packages.py
Log Message:
Changed the constructor to create the default package.
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Packages.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Packages.py:1.4 Thu Sep 5 16:48:13 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Packages.py Sat Nov 30 13:40:57 2002
@@ -32,9 +32,14 @@
from IPackages import IPackages
from IPackage import IPackage
+from Package import Package
class Packages(BTreeContainer):
__implements__ = IPackages
+
+ def __init__(self):
+ super(Packages, self).__init__()
+ self.setObject('default', Package())
def queryComponent(self, type=None, filter=None, all=0):