[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/publication/zopepublication.py Added a name to the location proxy created around exceptions, since

Jim Fulton jim at zope.com
Mon May 24 15:02:42 EDT 2004


Log message for revision 24940:
Added a name to the location proxy created around exceptions, since
views around the error seem to want a name.



-=-
Modified: Zope3/trunk/src/zope/app/publication/zopepublication.py
===================================================================
--- Zope3/trunk/src/zope/app/publication/zopepublication.py	2004-05-24 19:01:42 UTC (rev 24939)
+++ Zope3/trunk/src/zope/app/publication/zopepublication.py	2004-05-24 19:02:42 UTC (rev 24940)
@@ -289,7 +289,7 @@
                         loc = getattr(loc, '__self__', loc)
                     loc = ProxyFactory(loc)
 
-                exception = LocationProxy(exc_info[1], loc)
+                exception = LocationProxy(exc_info[1], loc, '')
                 name = zapi.queryDefaultViewName(exception, request)
                 if name is not None:
                     view = zapi.queryView(exception, name, request)




More information about the Zope3-Checkins mailing list