Commit abe14e6f authored by Raymond Hettinger's avatar Raymond Hettinger

The multiple exception catch should be in a tuple.

parent fe04afc6
......@@ -389,7 +389,7 @@ class Sniffer:
try:
thisType(row[col])
break
except ValueError, OverflowError:
except (ValueError, OverflowError):
pass
else:
# fallback to length of string
......
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