Cope with non-ASCII Python exceptions of type "str"
commitb290dd83fb2a90585b99cace25359ba1b44d182c
authorThomas Leonard <talex5@gmail.com>
Sun, 25 Apr 2010 12:49:31 +0000 (25 13:49 +0100)
committerThomas Leonard <talex5@gmail.com>
Sun, 25 Apr 2010 12:49:31 +0000 (25 13:49 +0100)
tree79f7fcfc1fa5b4169f96cc007d385a1045f37744
parentc099e9fd7a5f7bc1e03159b2233f2a7a74220661
Cope with non-ASCII Python exceptions of type "str"

Python's IOException has 'str' type, but may contain UTF-8 sequences. This
causes an error when trying to report the error if the message template is
unicode.
zeroinstall/injector/model.py
zeroinstall/injector/solver.py