[Zope-Checkins] CVS: Zope/lib/python/Products/PageTemplates - Expressions.py:1.41
Jeremy Hylton
jeremy@zope.com
Wed, 25 Sep 2002 11:50:52 -0400
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv23380
Modified Files:
Expressions.py
Log Message:
Raise a bare Unauthorized if we fail this early.
name is unbound at this point.
=== Zope/lib/python/Products/PageTemplates/Expressions.py 1.40 => 1.41 ===
--- Zope/lib/python/Products/PageTemplates/Expressions.py:1.40 Thu Sep 19 10:39:24 2002
+++ Zope/lib/python/Products/PageTemplates/Expressions.py Wed Sep 25 11:50:52 2002
@@ -295,7 +295,7 @@
# If the path starts with an empty string, go to the root first.
object = object.getPhysicalRoot()
if not securityManager.validateValue(object):
- raise Unauthorized, name
+ raise Unauthorized
path.pop(0)
REQUEST = {'path': path}