Source release 17.1.1
This commit is contained in:
2
third_party/gyp/input.py
vendored
2
third_party/gyp/input.py
vendored
@@ -1104,7 +1104,7 @@ def EvalSingleCondition(
|
||||
(str(e.args[0]), e.text, build_file, e.offset),
|
||||
e.filename, e.lineno, e.offset, e.text)
|
||||
raise syntax_error
|
||||
except NameError as e:
|
||||
except (NameError, TypeError) as e:
|
||||
gyp.common.ExceptionAppend(e, 'while evaluating condition \'%s\' in %s' %
|
||||
(cond_expr_expanded, build_file))
|
||||
raise GypError(e)
|
||||
|
||||
Reference in New Issue
Block a user