Commit 9cdf9f3c authored by Jason Swails's avatar Jason Swails
Browse files

Also catch ValueError in _is_string. Fix indentation to be consistent (5 spaces

to 4 -- this would be a SyntaxError in Python3).
parent b661807c
......@@ -232,6 +232,8 @@ def _is_string(x):
return False
except StopIteration:
return False
except ValueError:
return False
def stripUnits(args):
"""
......
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