[Zope3-checkins] CVS: Zope3/lib/python/Zope/PageTemplate/tests/input - CheckPathAlt.html:1.3

Fred L. Drake, Jr. fdrake@acm.org
Thu, 19 Sep 2002 16:05:02 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate/tests/input
In directory cvs.zope.org:/tmp/cvs-serv1243

Modified Files:
	CheckPathAlt.html 
Log Message:
When getting the key from a KeyError exception, use str(exception[0])
instead of str(exception), since the str() of the exception changed
(to be more reasonable when presenting a traceback).


=== Zope3/lib/python/Zope/PageTemplate/tests/input/CheckPathAlt.html 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/PageTemplate/tests/input/CheckPathAlt.html:1.2	Mon Jun 10 19:29:30 2002
+++ Zope3/lib/python/Zope/PageTemplate/tests/input/CheckPathAlt.html	Thu Sep 19 16:05:02 2002
@@ -11,7 +11,7 @@
    <p tal:attributes="name y/z | nil">Z</p>
    <p tal:attributes="name y/z | nothing">Z</p>
 
-   <p tal:on-error="python:str(error.value)" tal:content="a/b | c/d">Z</p>
+   <p tal:on-error="python:str(error.value[0])" tal:content="a/b | c/d">Z</p>
    </div>
 </body>
 </html>