Commit f14abc61 authored by Raymond Hettinger's avatar Raymond Hettinger

One more multiple exception catch should be in a tuple.

parent 6e48446f
......@@ -419,7 +419,7 @@ class Sniffer:
else: # attempt typecast
try:
colType(header[col])
except ValueError, TypeError:
except (ValueError, TypeError):
hasHeader += 1
else:
hasHeader -= 1
......
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