From 4ca77a4fafc9257d123c1ef558116d8255a14e11 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 22 Mar 2018 17:16:09 +0100 Subject: [PATCH] update: strip all whitespace from buildserverid --- fdroidserver/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index 8f084a94..6b3cd6af 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -79,7 +79,7 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force): if not buildserverid: buildserverid = subprocess.check_output(['vagrant', 'ssh', '-c', 'cat /home/vagrant/buildserverid'], - cwd='builder').rstrip().decode() + cwd='builder').strip().decode() logging.debug(_('Fetched buildserverid from VM: {buildserverid}') .format(buildserverid=buildserverid))