[ZPT] CVS: Zope/lib/python/Products/PageTemplates - Expressions.py:1.36.6.7
Jeremy Hylton
jeremy@zope.com
Wed, 25 Sep 2002 11:58:00 -0400
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv24664
Modified Files:
Tag: Zope-2_6-branch
Expressions.py
Log Message:
Backport: Raise a bare Unauthorized if we fail this early.
=== Zope/lib/python/Products/PageTemplates/Expressions.py 1.36.6.6 => 1.36.6.7 ===
--- Zope/lib/python/Products/PageTemplates/Expressions.py:1.36.6.6 Fri Sep 20 16:51:18 2002
+++ Zope/lib/python/Products/PageTemplates/Expressions.py Wed Sep 25 11:57:54 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}