summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2019-09-02 11:48:00 +0100
committerJavier Jardón <jjardon@gnome.org>2019-09-02 11:48:00 +0100
commit8d06e863b75c79bc5bdf5c6cd35a80056ada9a3f (patch)
tree79504232c4353f57800e5a1497f7b42230a20229
parent3471d122c45b6056ba20b46f7995c9f61affb954 (diff)
downloadbuildstream-8d06e863b75c79bc5bdf5c6cd35a80056ada9a3f.tar.gz
buildstream/_loader/types.py: Fix style for E712
-rw-r--r--buildstream/_loader/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_loader/types.py b/buildstream/_loader/types.py
index a49ff380b..193fb5da9 100644
--- a/buildstream/_loader/types.py
+++ b/buildstream/_loader/types.py
@@ -101,7 +101,7 @@ class Dependency():
# case we can later interpret explicitly non-strict dependencies
# as an override of the project default.
#
- if self.strict == False and Symbol.STRICT in dep:
+ if self.strict is False and Symbol.STRICT in dep:
provenance = _yaml.node_get_provenance(dep, key=Symbol.STRICT)
raise LoadError(LoadErrorReason.INVALID_DATA,
"{}: Setting 'strict' to False is unsupported"