summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-07-11 13:43:44 +0200
committerJürg Billeter <j@bitron.ch>2018-07-17 07:56:40 +0200
commit7acc64e408109f512c7b2666449d6c1ead499e4b (patch)
tree79b4b44c7899f3c2e39c55d8601e642c7e958968
parentd87df668e1fe44b6fdd8b0b4258bddd81a3da576 (diff)
downloadbuildstream-7acc64e408109f512c7b2666449d6c1ead499e4b.tar.gz
element.py: Do not use ArtifactCache.can_diff()
The only existing artifact cache implementation always returns True.
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
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():
#