From af7ffc6d64964b8e6731c4157a8a42fb718734c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Mon, 22 Jan 2018 19:46:01 +0000 Subject: element.py: Fix typo in _update_state() Fixes: bc492fa8 ("Use explicit element state updates") --- buildstream/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1