Mercurial > hg > bitsyblog
changeset 68:3550159184cf
again, not sure why i have to commit after merging
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 28 Jun 2010 08:07:09 -0700 |
parents | 894a2e76bd40 (current diff) 0f25fe665367 (diff) |
children | bcc3a59713c3 3da163e44b8a |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py Tue Apr 20 20:01:46 2010 -0700 +++ b/bitsyblog/bitsyblog.py Mon Jun 28 08:07:09 2010 -0700 @@ -646,7 +646,7 @@ writer_name='html', settings_overrides=settings) body = parts['body'] - except SystemMessage, e: + except (SystemMessage, UnicodeError), e: lines = [ cgi.escape(i.strip()) for i in string.split('\n') ] body = '<br/>\n'.join(lines)