[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager - ServiceManager.py:1.13

Viktorija Zaksiene ryzaja@codeworks.lt
Mon, 9 Dec 2002 10:22:21 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager
In directory cvs.zope.org:/tmp/cvs-serv23433

Modified Files:
	ServiceManager.py 
Log Message:
Fix getService to return a bound service even if it evaluates to False

=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/ServiceManager.py 1.12 => 1.13 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/ServiceManager.py:1.12	Thu Dec  5 12:00:44 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/ServiceManager.py	Mon Dec  9 10:22:20 2002
@@ -110,7 +110,7 @@
             self._v_calling = 1
             try:
                 service = self.getBoundService(name)
-                if service:
+                if service is not None:
                     return service
                     
             finally: