[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/publisher/browser/menu.py
remove ProxyFactory from , per
http://mail.zope.org/pipermail/zope3-dev/2005-December/017206.html
ff.
Gary Poster
gary at zope.com
Wed Dec 21 10:33:12 EST 2005
Log message for revision 40958:
remove ProxyFactory from , per http://mail.zope.org/pipermail/zope3-dev/2005-December/017206.html ff.
Changed:
U Zope3/trunk/src/zope/app/publisher/browser/menu.py
-=-
Modified: Zope3/trunk/src/zope/app/publisher/browser/menu.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/browser/menu.py 2005-12-21 15:22:34 UTC (rev 40957)
+++ Zope3/trunk/src/zope/app/publisher/browser/menu.py 2005-12-21 15:33:11 UTC (rev 40958)
@@ -22,7 +22,7 @@
from zope.interface import providedBy
from zope.security import checkPermission, canAccess
from zope.security.interfaces import Unauthorized, Forbidden
-from zope.security.proxy import ProxyFactory, removeSecurityProxy
+from zope.security.proxy import removeSecurityProxy
from zope.app import zapi
from zope.app.pagetemplate.engine import Engine
@@ -129,7 +129,7 @@
context = self.context,
nothing = None,
request = self.request,
- modules = ProxyFactory(sys.modules),
+ modules = sys.modules,
))
except Unauthorized:
return False
More information about the Zope3-Checkins
mailing list