diff options
author | Jürg Billeter <j@bitron.ch> | 2019-02-27 11:01:04 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-03-01 05:11:55 +0000 |
commit | ed7877bf73c6b82ad844c8305017e2588c15ae41 (patch) | |
tree | 3db70ced5173d7164eefd3b166ca68fc2409bdd9 | |
parent | 9b33132dded9deb05d44bc3a40fd67a35a82d2be (diff) | |
download | buildstream-ed7877bf73c6b82ad844c8305017e2588c15ae41.tar.gz |
_artifactcache.py: Do not use Directory.ref
This is in preparation for lazy digest calculation.
-rw-r--r-- | buildstream/_artifactcache.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/buildstream/_artifactcache.py b/buildstream/_artifactcache.py index b317296ec..dbe797dc5 100644 --- a/buildstream/_artifactcache.py +++ b/buildstream/_artifactcache.py @@ -636,9 +636,6 @@ class ArtifactCache(): raise ArtifactError("push_directory was called, but no remote artifact " + "servers are configured as push remotes.") - if directory.ref is None: - return - for remote in push_remotes: self.cas.push_directory(remote, directory) |