[Zope3-checkins] CVS: Zope3/src/zope/app/publication - zopepublication.py:1.27.8.1

Steve Alexander steve@cat-box.net
Thu, 15 May 2003 10:50:00 -0400


Update of /cvs-repository/Zope3/src/zope/app/publication
In directory cvs.zope.org:/tmp/cvs-serv12712/src/zope/app/publication

Modified Files:
      Tag: stevea-decorators-branch
	zopepublication.py 
Log Message:
More work on Decorators.
Converted existing tests to use decorators instead of ZopeContainerAdapter.


=== Zope3/src/zope/app/publication/zopepublication.py 1.27 => 1.27.8.1 ===
--- Zope3/src/zope/app/publication/zopepublication.py:1.27	Thu May  1 15:35:26 2003
+++ Zope3/src/zope/app/publication/zopepublication.py	Thu May 15 10:49:29 2003
@@ -150,8 +150,7 @@
 
         if app is None:
             raise SystemError, "Zope Application Not Found"
-
-        return ProxyFactory(app)
+        return ProxyFactory(ContextWrapper(app, None))
 
     def callObject(self, request, ob):
         return mapply(ob, request.getPositionalArguments(), request)