diff options
author | James Ennis <james.ennis@codethink.com> | 2018-03-01 09:52:02 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2018-03-14 17:31:06 +0000 |
commit | ccec158ab92d7fefdac96599a0c059b8bf8ef741 (patch) | |
tree | fefb36fa37ec9c6d1b7c99b421ca6b7c009db49c /buildstream | |
parent | 3df8fb9f582bb79934e6c264c06cde008aea2906 (diff) | |
download | buildstream-ccec158ab92d7fefdac96599a0c059b8bf8ef741.tar.gz |
pylint - dealt with simplifiable-if-statement warning
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_yaml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index a597962ff..2f8a2921d 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py @@ -445,7 +445,7 @@ def is_composite_list(node): has_keys = False for key, _ in node_items(node): - if key in ['(>)', '(<)', '(=)']: + if key in ['(>)', '(<)', '(=)']: # pylint: disable=simplifiable-if-statement has_directives = True else: has_keys = True |