diff options
author | thejimmyg <devnull@localhost> | 2006-08-30 12:22:46 +0000 |
---|---|---|
committer | thejimmyg <devnull@localhost> | 2006-08-30 12:22:46 +0000 |
commit | 2dcb0744b3c5897a09ff2d07a542f3e78d86c921 (patch) | |
tree | ebb38006c4836aa368312876e45ff08856fa83b0 /paste/exceptions | |
parent | 14a7061285f0e5202a74a028c929ab860707b818 (diff) | |
download | paste-2dcb0744b3c5897a09ff2d07a542f3e78d86c921.tar.gz |
Some objects in Pylons 0.9.2dev error handling are getting to this stage without being converted to strings for display. Any such objects are now converted here.
Diffstat (limited to 'paste/exceptions')
-rw-r--r-- | paste/exceptions/formatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/exceptions/formatter.py b/paste/exceptions/formatter.py index 2b51b38..1dd592e 100644 --- a/paste/exceptions/formatter.py +++ b/paste/exceptions/formatter.py @@ -12,7 +12,7 @@ import re from paste.util import PySourceColor def html_quote(s): - return cgi.escape(s, True) + return cgi.escape(str(s), True) class AbstractFormatter(object): |