You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 07:19:53 UTC
[buildstream] 01/19: element.py: Remove redundant second call to
_get_cache_key()
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch phil/ui-split-refactor
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 456da5723d447789260a7c970dcfca736567e240
Author: Tom Pollard <to...@codethink.co.uk>
AuthorDate: Wed Jul 31 15:39:15 2019 +0100
element.py: Remove redundant second call to _get_cache_key()
---
src/buildstream/element.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 21c38bc..a4404fc 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