diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-11-21 11:13:15 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-11-21 11:15:24 +0100 |
commit | 7f8cc24feb1cf63a547647b925e1519da2292826 (patch) | |
tree | 8cac344f6cf659442a235de9ef87148390c65fb5 /rtemsspec | |
parent | 4eb1bcf15acaa2592c1cdcbc11ccca2620d20c69 (diff) |
util: Strip only '\r' and '\n'
Diffstat (limited to 'rtemsspec')
-rw-r--r-- | rtemsspec/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemsspec/util.py b/rtemsspec/util.py index eaea0fad..1f3b1d51 100644 --- a/rtemsspec/util.py +++ b/rtemsspec/util.py @@ -108,7 +108,7 @@ def run_command(args: List[str], while True: raw_line = task.stdout.readline() if raw_line: - line = raw_line.decode("utf-8", "ignore").rstrip() + line = raw_line.decode("utf-8", "ignore").rstrip("\r\n") if stdout is None: logging.debug("%s", line) else: |