1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

update: strip all whitespace from buildserverid

This commit is contained in:
Hans-Christoph Steiner 2018-03-22 17:16:09 +01:00
parent 8ab2deace2
commit 4ca77a4faf

View File

@ -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))