diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | src/Tests/xmlrunner.py | 2 |
3 files changed, 3 insertions, 5 deletions
@@ -13,7 +13,8 @@ - Added --shbang option (e.g. "cheetah compile --shbang '#!/usr/bin/python2.6' ") - Removed dependency on optik OptionParser in favor of builtin Python optparse module - Introduction of the #transform directive for whole-document filtering - - Introduction of Cheetah.contrib.markdown and Cheetah.Filters.Markdown for outputting a markdown processed template (meant for #transform_ + - Introduction of Cheetah.contrib.markdown and Cheetah.Filters.Markdown for outputting a markdown processed template (meant for #transform) + - Cheetah.Filters.CodeHighlighter, pygments-based code highlighting filter for use with #transform 2.1.0.1 (March 27, 2009) - Fix inline import issue introduced in v2.1.0 @@ -1,12 +1,9 @@ - - NOTE: Please see http://bugs.communitycheetah.org for future feature requests/bugs/TODO =============================================================================== =============================================================================== -=============================================================================== Desired for Cheetah 2.0 ======================= diff --git a/src/Tests/xmlrunner.py b/src/Tests/xmlrunner.py index f280551..401d8f5 100644 --- a/src/Tests/xmlrunner.py +++ b/src/Tests/xmlrunner.py @@ -74,7 +74,7 @@ class _TestInfo(object): text = escape(str(error[1])) stream.write('\n') stream.write(' <%s type="%s">%s\n' \ - % (tagname, str(error[0]), text)) + % (tagname, issubclass(error[0], Exception) and error[0].__name__ or str(error[0]), text)) tb_stream = StringIO() traceback.print_tb(error[2], None, tb_stream) stream.write(escape(tb_stream.getvalue())) |