Skip to content

Commit 3c01dcb

Browse files
committed
MimeTypeParseException should inherit from ValueError
1 parent fffb516 commit 3c01dcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mimeparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
__credits__ = ''
2727

2828

29-
class MimeTypeParseException(Exception):
29+
class MimeTypeParseException(ValueError):
3030
pass
3131

3232

0 commit comments

Comments
 (0)