diff options
author | Mathieu Bridon <bochecha@daitauha.fr> | 2017-09-30 14:47:27 +0200 |
---|---|---|
committer | Mathieu Bridon <bochecha@daitauha.fr> | 2017-09-30 14:47:27 +0200 |
commit | aa67cb9100751f7bb817be32eecf2f9ceacf66f6 (patch) | |
tree | f5ba144961b374a5dec3ff8d2794fa3d67caf6e8 /buildstream/_artifactcache | |
parent | d4e189ade8b53dab6352d78e32b413eb78f8574d (diff) | |
download | buildstream-aa67cb9100751f7bb817be32eecf2f9ceacf66f6.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.
Diffstat (limited to 'buildstream/_artifactcache')
-rw-r--r-- | buildstream/_artifactcache/artifactcache.py | 2 |
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(): # |