diff options
| author | Stefan Wojcik <wojcikstefan@gmail.com> | 2016-01-27 10:44:47 -0800 |
|---|---|---|
| committer | Stefan Wojcik <wojcikstefan@gmail.com> | 2016-01-27 10:44:47 -0800 |
| commit | 627593590bcd369f4d448f5d3cd8bf32a4568e25 (patch) | |
| tree | 0b7943618442530a74603f58fa3829b676b6793a | |
| parent | 825e4e5b6c70d35e826ddfa5650de428a1892030 (diff) | |
| download | python-mimeparse-627593590bcd369f4d448f5d3cd8bf32a4568e25.tar.gz | |
py3.2 compat
| -rwxr-xr-x | mimeparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mimeparse.py b/mimeparse.py index c8047e7..1e06cc1 100755 --- a/mimeparse.py +++ b/mimeparse.py @@ -51,7 +51,7 @@ def parse_mime_type(mime_type): full_type = '*/*' if '/' not in full_type: - raise MimeTypeParseException(u"Can't parse type \"{}\"".format(full_type)) + raise MimeTypeParseException("Can't parse type \"{}\"".format(full_type)) (type, subtype) = full_type.split('/') |
