mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
gn_args: Fix Python 3 AttributeError: 'module' object has no attribute 'exc_clear' (see issue #2856)
This commit is contained in:
@ -107,7 +107,7 @@ def NameValueListToDict(name_value_list):
|
|||||||
try:
|
try:
|
||||||
token_value = int(token_value)
|
token_value = int(token_value)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
sys.exc_clear()
|
pass
|
||||||
# Set the variable to the supplied value.
|
# Set the variable to the supplied value.
|
||||||
result[tokens[0]] = token_value
|
result[tokens[0]] = token_value
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user