From 7acc64e408109f512c7b2666449d6c1ead499e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Wed, 11 Jul 2018 13:43:44 +0200 Subject: element.py: Do not use ArtifactCache.can_diff() The only existing artifact cache implementation always returns True. --- buildstream/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildstream/element.py b/buildstream/element.py index 3bdf9720a..5caf8c0ac 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -1948,7 +1948,7 @@ class Element(Plugin): # (bool): Whether this element can be built incrementally # def __can_build_incrementally(self): - return self._get_workspace() and self.__artifacts.can_diff() + return bool(self._get_workspace()) # __get_brief_display_key(): # -- cgit v1.2.1