[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - ServiceManagerContainer.py:1.1.2.7.8.1

Steve Alexander steve@cat-box.net
Tue, 4 Jun 2002 08:03:08 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv26586/lib/python/Zope/ComponentArchitecture

Modified Files:
      Tag: Zope3InWonderland-branch
	ServiceManagerContainer.py 
Log Message:
some formatting fixes.

Also, created an InsecureMarker class, instances of which don't get
wrapped in a security proxy (i.e. are Rocks), for use in methods where
you want to call a method with a default value, and compare the value
using 'is' later on.


=== Zope3/lib/python/Zope/ComponentArchitecture/ServiceManagerContainer.py 1.1.2.7 => 1.1.2.7.8.1 ===
     def hasServiceManager(self):
         '''See interface IReadServiceManagerContainer'''
-
         return hasattr(self, '_ServiceManagerContainer__sm')
 
     def getServiceManager(self, default=_marker):