diff options
author | Simon Warta <[email protected]> | 2017-01-09 23:13:34 +0100 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-01-11 12:32:03 +0100 |
commit | c3a5db2a831bc6b03436090d87d902a634cb9dd0 (patch) | |
tree | 40ddb42d5c53213a67a80ecda4bd50283b822181 | |
parent | 13f4f3d7b49d622c518b23e08491c072a8016445 (diff) |
Resolve lint issues: unidiomatic-typecheck
-rwxr-xr-x | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index d09dc1791..8efd2428b 100755 --- a/configure.py +++ b/configure.py @@ -578,7 +578,7 @@ def lex_me_harder(infofile, to_obj, allowed_groups, name_val_pairs): lexer.lineno) elif token in name_val_pairs.keys(): - if type(to_obj.__dict__[token]) is list: + if isinstance(to_obj.__dict__[token], list): to_obj.__dict__[token].append(lexer.get_token()) # Dirty hack |