Kumar McMillan committed 16b8476

Apparently messages can be ints? This prevents Unicode decode (Issue 442)

Comments (0)

Files changed (6)

+- Fixed Unicode issue on Python 3.1 with coverage (#442)
 - Fixed regression where the .coverage file was not saved (#439).
 # The short X.Y version.
 version = '1.1'
 # The full version, including alpha/beta/rc tags.
-release = '1.1.2'
+release = '1.1.3'
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 from import with_setup
 __author__ = 'Jason Pellerin'
-__versioninfo__ = (1, 1, 2)
+__versioninfo__ = (1, 1, 3)
 __version__ = '.'.join(map(str, __versioninfo__))
 __all__ = [


                     msg = len(ev.args) and ev.args[0] or ''
                     msg = ev.message
-                if not isinstance(msg, unicode):
+                if (isinstance(msg, basestring) and
+                    not isinstance(msg, unicode)):
                     msg = msg.decode('utf8', 'replace')
                 ev = u'%s: %s' % (ev.__class__.__name__, msg)
         if not isinstance(output, unicode):
-.\" Generated by docutils manpage writer on 2011-07-30 18:43.
+.\" Generated by docutils manpage writer on 2011-08-02 15:20.
 import sys
 import os
-VERSION = '1.1.2'
+VERSION = '1.1.3'
 py_vers_tag = '-%s.%s' % sys.version_info[:2]
 test_dirs = ['functional_tests', 'unit_tests', os.path.join('doc','doc_tests'), 'nose']
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.