summaryrefslogtreecommitdiff
path: root/src/buildstream/element.py
diff options
context:
space:
mode:
authorTom Pollard <tom.pollard@codethink.co.uk>2019-07-31 15:39:15 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-08-08 13:52:36 +0000
commit6a4ef84614cd0914270797a46fb7f94e289eff32 (patch)
treeda631145cbd6f0e50a3de3cc42b25eb1202785b9 /src/buildstream/element.py
parent3e0eb25361e09124e56b5167212e9623a76da98f (diff)
downloadbuildstream-6a4ef84614cd0914270797a46fb7f94e289eff32.tar.gz
element.py: Remove redundant second call to _get_cache_key()
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r--src/buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 0d80113ab..208bc35b2 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -1242,7 +1242,7 @@ class Element(Plugin):
if not cache_key:
cache_key = "{:?<64}".format('')
- elif self._get_cache_key() == self.__strict_cache_key:
+ elif cache_key == self.__strict_cache_key:
# Strong cache key used in this session matches cache key
# that would be used in strict build mode
dim_key = False