diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-13 15:35:55 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-07-13 15:35:55 +0000 |
commit | eb67b93f14fe0b8b7882650f4e3ab5868c984013 (patch) | |
tree | 4e9e964bfe78ea5fe2cdb2b8edb507b953d3853e | |
parent | e54c28df429db38dd721c17fccc1229e729a526d (diff) | |
download | buildstream-eb67b93f14fe0b8b7882650f4e3ab5868c984013.tar.gz |
_artifactcache/pushreceive.py: Fix obvious typo
This was causing tracebacks when pushing.
-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 90c70ccad..77bec445a 100644 --- a/buildstream/_artifactcache/pushreceive.py +++ b/buildstream/_artifactcache/pushreceive.py @@ -326,7 +326,7 @@ class OSTreePusher(object): ssh_cmd += ['--verbose'] if self.debug: ssh_cmd += ['--debug'] - ssh_cmd += [self.remote_path] + ssh_cmd += [self.remotepath] logging.info('Executing {}'.format(' '.join(ssh_cmd))) self.ssh = subprocess.Popen(ssh_cmd, stdin=subprocess.PIPE, @@ -361,7 +361,7 @@ class OSTreePusher(object): raise PushException('Remote repository "%s" does not ' 'contain a hostname and path separated ' 'by ":"' % self.remotepath) - self.remote_host, self.remote_path = parts + self.remote_host, self.remotepath = parts def needed_commits(self, remote, local, needed): parent = local |