mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 14:45:23 +00:00
Only rstrip log lines as to not lose indentation
This commit is contained in:
@@ -40,7 +40,7 @@ def run(image: str = None, command: str = None, volumes: dict = None,
|
|||||||
except StopIteration:
|
except StopIteration:
|
||||||
break
|
break
|
||||||
if line:
|
if line:
|
||||||
yield line.strip()
|
yield line.rstrip()
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user