Commit 6274fff2 authored by Guido van Rossum's avatar Guido van Rossum

Fix an unqualified except:.

This came out of SF bug #411881.
parent 9c673f35
......@@ -448,7 +448,7 @@ if __name__ == '__main__' or (len(sys.argv) > 0 and sys.argv[0] == 'mimify'):
elif o == '-l':
try:
MAXLEN = int(a)
except:
except (ValueError, OverflowError):
print usage
sys.exit(1)
elif o == '-b':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment