[Zope3-checkins] CVS: Zope3/src/zope/app/services - configuration.py:1.4
Steve Alexander
steve@cat-box.net
Tue, 31 Dec 2002 08:27:17 -0500
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv30666/src/zope/app/services
Modified Files:
configuration.py
Log Message:
Removed XXX and left the clarifying comment that answers the question
posed in the XXX comment.
=== Zope3/src/zope/app/services/configuration.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/services/configuration.py:1.3 Sat Dec 28 12:49:31 2002
+++ Zope3/src/zope/app/services/configuration.py Tue Dec 31 08:27:17 2002
@@ -321,10 +321,9 @@
if wrapped_self.permission:
if type(component) is Proxy:
- # XXX what is this?
- # Answer: There should be at most one security Proxy around
- # an object. So, if we're going to add a new security proxy,
- # we need to remove any existing one.
+ # There should be at most one security Proxy around an object.
+ # So, if we're going to add a new security proxy, we need to
+ # remove any existing one.
component = removeSecurityProxy(component)
interface = wrapped_self.getInterface()