mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-27 10:03:31 +01:00
gn_args: Fix Python 3 AttributeError: 'module' object has no attribute 'exc_clear' (see issue #2856)
This commit is contained in:
parent
1a406d079b
commit
08f6cbb675
@ -107,7 +107,7 @@ def NameValueListToDict(name_value_list):
|
||||
try:
|
||||
token_value = int(token_value)
|
||||
except ValueError:
|
||||
sys.exc_clear()
|
||||
pass
|
||||
# Set the variable to the supplied value.
|
||||
result[tokens[0]] = token_value
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user