summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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():
#