[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/Browser - __init__.py:1.1.4.1 Publication.py:1.1.2.1.2.1
Jim Fulton
jim@zope.com
Tue, 26 Mar 2002 11:55:07 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/Browser
In directory cvs.zope.org:/tmp/cvs-serv4886/Zope/App/ZopePublication/Browser
Modified Files:
Tag: Zope3-publisher-refactor-branch
Publication.py
Added Files:
Tag: Zope3-publisher-refactor-branch
__init__.py
Log Message:
Got the BrowserPublisher to pass tests.
The remaining task (aside from writing more tests) is to get the
new server setup working. This should also get the server tests to pass.
=== Added File Zope3/lib/python/Zope/App/ZopePublication/Browser/__init__.py ===
=== Zope3/lib/python/Zope/App/ZopePublication/Browser/Publication.py 1.1.2.1 => 1.1.2.1.2.1 ===
from Zope.App.ZopePublication.HTTP.Publication import ZopeHTTPPublication
+from Zope.Publisher.Browser.IBrowserPublisher import IBrowserPublisher
+from Zope.ComponentArchitecture import getRequestView
+from Zope.ContextWrapper import Wrapper
+from Zope.App.Security.SecurityManagement import getSecurityManager
class BrowserPublication(ZopeHTTPPublication):
@@ -38,7 +42,7 @@
if r[0] is ob: return r
- wrapped = wrapper.Wrapper(r[0], ob, name=None)
+ wrapped = Wrapper(r[0], ob, name=None)
getSecurityManager().validate(None, wrapped)
return (wrapped, r[1])