From eb67b93f14fe0b8b7882650f4e3ab5868c984013 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 13 Jul 2017 15:35:55 +0000 Subject: _artifactcache/pushreceive.py: Fix obvious typo This was causing tracebacks when pushing. --- buildstream/_artifactcache/pushreceive.py | 4 ++-- 1 file 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 -- cgit v1.2.1