One more multiple exception catch should be in a tuple.

This commit is contained in:
Raymond Hettinger 2003-06-12 04:05:00 +00:00
parent d78b23025c
commit f31cb0cbcf

View File

@ -419,7 +419,7 @@ class Sniffer:
else: # attempt typecast
try:
colType(header[col])
except ValueError, TypeError:
except (ValueError, TypeError):
hasHeader += 1
else:
hasHeader -= 1