summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-01-22 19:46:01 +0000
committerJürg Billeter <j@bitron.ch>2018-01-22 19:51:44 +0000
commitaf7ffc6d64964b8e6731c4157a8a42fb718734c0 (patch)
tree6f44b3e5325a3f811b9df74e0dfab469dcddd9d0
parentf490343d98e40f9c9b651aa02f351d0bbee9afd9 (diff)
downloadbuildstream-af7ffc6d64964b8e6731c4157a8a42fb718734c0.tar.gz
element.py: Fix typo in _update_state()
Fixes: bc492fa8 ("Use explicit element state updates")
-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