Fix an unqualified except:.

This came out of SF bug #411881.
This commit is contained in:
Guido van Rossum 2001-04-10 15:42:02 +00:00
parent 9c673f35d2
commit 6274fff287
1 changed files with 1 additions and 1 deletions

View File

@ -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':