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