summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2017-09-30 14:47:27 +0200
committerMathieu Bridon <bochecha@daitauha.fr>2017-09-30 14:47:27 +0200
commitaa67cb9100751f7bb817be32eecf2f9ceacf66f6 (patch)
treef5ba144961b374a5dec3ff8d2794fa3d67caf6e8
parentd4e189ade8b53dab6352d78e32b413eb78f8574d (diff)
downloadbuildstream-fix-artifacts-can-push.tar.gz
Fix artifact push capability detectionfix-artifacts-can-push
Two branches got developed at the same time: * Tristan's cross-platform work * my work on per-project overrides for artifacts-related options Mine got merged first, and somehow this must have been missed in a rebase.
-rw-r--r--buildstream/_artifactcache/artifactcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py
index 760b3b1b8..ff3c6a46d 100644
--- a/buildstream/_artifactcache/artifactcache.py
+++ b/buildstream/_artifactcache/artifactcache.py
@@ -145,7 +145,7 @@ class ArtifactCache():
#
def can_push(self):
return (not self._offline or self._push_local) and \
- self.context.artifact_push is not None
+ self.artifact_push is not None
# remote_contains_key():
#