summaryrefslogtreecommitdiff
path: root/mimeparse.py
diff options
context:
space:
mode:
authorStefan Wojcik <wojcikstefan@gmail.com>2016-01-27 10:44:47 -0800
committerStefan Wojcik <wojcikstefan@gmail.com>2016-01-27 10:44:47 -0800
commit627593590bcd369f4d448f5d3cd8bf32a4568e25 (patch)
tree0b7943618442530a74603f58fa3829b676b6793a /mimeparse.py
parent825e4e5b6c70d35e826ddfa5650de428a1892030 (diff)
downloadpython-mimeparse-627593590bcd369f4d448f5d3cd8bf32a4568e25.tar.gz
py3.2 compat
Diffstat (limited to 'mimeparse.py')
-rwxr-xr-xmimeparse.py2
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('/')