[ZPT] CVS: Zope/lib/python/Products/PageTemplates - Expressions.py:1.31.10.5

Jeremy Hylton jeremy@zope.com
Wed, 25 Sep 2002 11:57:51 -0400


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv24633

Modified Files:
      Tag: Zope-2_5-branch
	Expressions.py 
Log Message:
Backport: Raise a bare Unauthorized if we fail this early.


=== Zope/lib/python/Products/PageTemplates/Expressions.py 1.31.10.4 => 1.31.10.5 ===
--- Zope/lib/python/Products/PageTemplates/Expressions.py:1.31.10.4	Wed Sep 18 11:51:52 2002
+++ Zope/lib/python/Products/PageTemplates/Expressions.py	Wed Sep 25 11:57:45 2002
@@ -292,7 +292,7 @@
         # If the path starts with an empty string, go to the root first.
         self = self.getPhysicalRoot()
         if not securityManager.validateValue(self):
-            raise Unauthorized, name
+            raise Unauthorized
         path.pop(0)
         
     path.reverse()