summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--TODO3
-rw-r--r--src/Tests/xmlrunner.py2
3 files changed, 3 insertions, 5 deletions
diff --git a/CHANGES b/CHANGES
index f90287f..c8dc7f1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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
diff --git a/TODO b/TODO
index 3968c4f..a44c0f8 100644
--- a/TODO
+++ b/TODO
@@ -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()))