aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-01-09 23:13:34 +0100
committerSimon Warta <[email protected]>2017-01-11 12:32:03 +0100
commitc3a5db2a831bc6b03436090d87d902a634cb9dd0 (patch)
tree40ddb42d5c53213a67a80ecda4bd50283b822181
parent13f4f3d7b49d622c518b23e08491c072a8016445 (diff)
Resolve lint issues: unidiomatic-typecheck
-rwxr-xr-xconfigure.py2
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