summaryrefslogtreecommitdiff
path: root/tools/make-mime.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make-mime.py')
-rwxr-xr-xtools/make-mime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-mime.py b/tools/make-mime.py
index f6a72044..d321479b 100755
--- a/tools/make-mime.py
+++ b/tools/make-mime.py
@@ -23,7 +23,7 @@ def file_content_type(text):
filename, content_type = text.split(":", 1)
return (open(filename, 'r'), filename, content_type.strip())
except ValueError:
- raise argparse.ArgumentError("Invalid value for %r" % (text))
+ raise argparse.ArgumentError(text, "Invalid value for %r" % (text))
def main():