summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 15a4f043b..95468d2e0 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1430,7 +1430,7 @@ class Element(Plugin):
]
self.__cache_key = self.__calculate_cache_key(dependencies)
- if self.__weak_cache_key is None:
+ if self.__cache_key is None:
# Strong cache key could not be calculated yet
return