[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/component/localservice.py
Merged from ZopeX3-3.0 branch:
Jim Fulton
jim at zope.com
Fri Aug 13 16:31:07 EDT 2004
Log message for revision 27131:
Merged from ZopeX3-3.0 branch:
r27108 | jim | 2004-08-13 11:41:50 -0400 (Fri, 13 Aug 2004) | 1 line
Removed some unneeded removaAllProxies calls
Changed:
U Zope3/trunk/src/zope/app/component/localservice.py
-=-
Modified: Zope3/trunk/src/zope/app/component/localservice.py
===================================================================
--- Zope3/trunk/src/zope/app/component/localservice.py 2004-08-13 20:29:19 UTC (rev 27130)
+++ Zope3/trunk/src/zope/app/component/localservice.py 2004-08-13 20:31:06 UTC (rev 27131)
@@ -21,7 +21,6 @@
from zope.component.exceptions import ComponentLookupError
from zope.component.service import serviceManager
from zope.component.interfaces import IServiceService
-from zope.proxy import removeAllProxies
from zope.app.site.interfaces import ISite, ISiteManager
from zope.testing.cleanup import addCleanUp
from zope.app.component.hooks import setSite
@@ -108,7 +107,7 @@
# This is not allowed to use any services to get its job done!
while not (context is None or
- ISiteManager.providedBy(removeAllProxies(context))):
+ ISiteManager.providedBy(context)):
context = getattr(context, '__parent__', None)
if context is None:
raise ComponentLookupError('Services')
More information about the Zope3-Checkins
mailing list