diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-24 00:46:42 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-24 00:46:42 +0900 |
commit | 628e9a23f8b9d14f0216f85240b5ed148a08b117 (patch) | |
tree | 9ecbd221d549deea9543f4afc3fbf8ee3040df15 /buildstream/_artifactcache/pushreceive.py | |
parent | bf8fc373d7711861129ab841a74ecf32b3d8b2dd (diff) | |
download | buildstream-628e9a23f8b9d14f0216f85240b5ed148a08b117.tar.gz |
_artifactcache.py: Fixed stack trace regression in pushing of artifacts.
Diffstat (limited to 'buildstream/_artifactcache/pushreceive.py')
-rw-r--r-- | buildstream/_artifactcache/pushreceive.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_artifactcache/pushreceive.py b/buildstream/_artifactcache/pushreceive.py index 39c92dfdf..4df5bbe49 100644 --- a/buildstream/_artifactcache/pushreceive.py +++ b/buildstream/_artifactcache/pushreceive.py @@ -360,7 +360,7 @@ def ssh_commandline(remote_host, remote_user=None, remote_port=22): class OSTreePusher(object): - def __init__(self, repopath, remotepath, remote_port, branches=[], verbose=False, + def __init__(self, repopath, remotepath, branches=[], verbose=False, debug=False, output=None): self.repopath = repopath self.remotepath = remotepath @@ -369,7 +369,7 @@ class OSTreePusher(object): self.output = output self.remote_host, self.remote_user, self.remote_repo, self.remote_port = \ - parse_remote_location(remotepath, remote_port) + parse_remote_location(remotepath) if self.repopath is None: self.repo = OSTree.Repo.new_default() |