Kaydet (Commit) f31cb0cb authored tarafından Raymond Hettinger's avatar Raymond Hettinger

One more multiple exception catch should be in a tuple.

üst d78b2302
......@@ -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