[ZPT] CVS: Packages/Products/PageTemplates (Products/DC/PageTemplates) - CHANGES.txt:1.8 TALES.py:1.17
evan@serenade.digicool.com
evan@serenade.digicool.com
Sat, 16 Jun 2001 11:39:47 -0400
Update of /cvs-repository/Packages/Products/PageTemplates
In directory serenade:/home/evan/Zope/pt/lib/python/Products/PageTemplates
Modified Files:
CHANGES.txt TALES.py
Log Message:
Only let Redirect and Unauthorized string exceptions propagate.
--- Updated File CHANGES.txt in package Packages/Products/PageTemplates --
--- CHANGES.txt 2001/06/08 20:25:45 1.7
+++ CHANGES.txt 2001/06/16 15:39:47 1.8
@@ -10,5 +10,9 @@
- Adopted Zope-style CHANGES.txt and HISTORY.txt
- Improved execution performance
+ - nocall: paths are back in.
Bugs Fixed
+
+ - TALES expressions let any string exception through, not just
+ Redirect and Unauthorized.
--- Updated File TALES.py in package Packages/Products/PageTemplates --
--- TALES.py 2001/06/14 21:03:30 1.16
+++ TALES.py 2001/06/16 15:39:47 1.17
@@ -284,7 +284,7 @@
except TALESError:
raise
except:
- if isinstance(sys.exc_info()[0], StringType):
+ if sys.exc_info()[0] in ('Redirect', 'Unauthorized'):
raise
raise TALESError, (`expression`, sys.exc_info()), sys.exc_info()[2]
else: