log: process.py: fix weird space in stdout/stderr log output
Log output before: stdout: | line1 | line2 | line3 After: stdout: | line1 | line2 | line3 Change-Id: I4202e7dfbb550acaf55a6c6487fc07819ab18b94
This commit is contained in:
parent
3b493f3567
commit
e5e5df8d24
|
@ -291,13 +291,13 @@ class Process(log.Origin):
|
|||
m = self.get_stdout_tail(prefix='| ')
|
||||
if not m:
|
||||
return
|
||||
self.log('stdout:\n', m, '\n')
|
||||
self.log('stdout:', '\n' + m, '\n')
|
||||
|
||||
def log_stderr_tail(self):
|
||||
m = self.get_stderr_tail(prefix='| ')
|
||||
if not m:
|
||||
return
|
||||
self.log('stderr:\n', m, '\n')
|
||||
self.log('stderr:', '\n' + m, '\n')
|
||||
|
||||
def close_output_logs(self):
|
||||
for k, v in self.outputs.items():
|
||||
|
|
Loading…
Reference in New Issue