Only rstrip log lines as to not lose indentation

This commit is contained in:
Einar Forselv 2019-11-26 13:04:30 +01:00
parent e6d914df7c
commit ed3774ad14
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def run(image: str = None, command: str = None, volumes: dict = None,
except StopIteration:
break
if line:
yield line.strip()
yield line.rstrip()
else:
break