Bug 1532236 Remove extra newlines from partials logging r=mtabara

Differential Revision: https://phabricator.services.mozilla.com/D22072

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Simon Fraser 2019-03-05 10:39:23 +00:00
parent 6f475afa31
commit 00dc9e2a57

View File

@ -168,7 +168,7 @@ async def run_command(cmd, cwd='/', env=None, label=None, silent=False):
line = await stream.readline()
if line == b'':
break
printcmd("%s%s", label, line.decode('utf-8'))
printcmd("%s%s", label, line.decode('utf-8').rstrip())
if silent:
await process.wait()