[Zope3-checkins] SVN: Zope3/branches/3.2/src/zope/app/publisher/browser/menu.py Merge trunk revision 40958:

Gary Poster gary at zope.com
Thu Dec 22 10:49:48 EST 2005


Log message for revision 40984:
  Merge trunk revision 40958:
    remove ProxyFactory from , per http://mail.zope.org/pipermail/zope3-dev/2005-December/017206.html ff.
  

Changed:
  U   Zope3/branches/3.2/src/zope/app/publisher/browser/menu.py

-=-
Modified: Zope3/branches/3.2/src/zope/app/publisher/browser/menu.py
===================================================================
--- Zope3/branches/3.2/src/zope/app/publisher/browser/menu.py	2005-12-22 14:57:28 UTC (rev 40983)
+++ Zope3/branches/3.2/src/zope/app/publisher/browser/menu.py	2005-12-22 15:49:47 UTC (rev 40984)
@@ -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