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:
parent
8ab2deace2
commit
4ca77a4faf
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user