summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-05 21:37:40 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-05 21:37:40 +0900
commit5ec9ffe3bfd14b6687b188531792c9479afb62d6 (patch)
tree529c08b276c521b8b57b4f97cfd11759fe0ecb23
parent8806a8841e1829791c1b532e71cf6b4b4f5e4a26 (diff)
downloadbuildstream-5ec9ffe3bfd14b6687b188531792c9479afb62d6.tar.gz
element.py: Fix pep8 error from my previous commit
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index c27ce690c..b13d489c2 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -663,7 +663,7 @@ class Element(Plugin):
if recalculate:
self.__cached = None
- if recalculate != False:
+ if recalculate is not False:
if self.__cached is None and self._get_cache_key() is not None:
self.__cached = self.__artifacts.contains(self)