[Python-checkins] CVS: python/dist/src/Lib mimify.py,1.19,1.20
Guido van Rossum
gvanrossum@users.sourceforge.net
Tue, 10 Apr 2001 08:42:04 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv22931
Modified Files:
mimify.py
Log Message:
Fix an unqualified except:.
This came out of SF bug #411881.
Index: mimify.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mimify.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** mimify.py 2001/02/10 00:14:18 1.19
--- mimify.py 2001/04/10 15:42:02 1.20
***************
*** 449,453 ****
try:
MAXLEN = int(a)
! except:
print usage
sys.exit(1)
--- 449,453 ----
try:
MAXLEN = int(a)
! except (ValueError, OverflowError):
print usage
sys.exit(1)