summaryrefslogtreecommitdiff
path: root/rtemsspec
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 11:13:15 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-11-21 11:15:24 +0100
commit7f8cc24feb1cf63a547647b925e1519da2292826 (patch)
tree8cac344f6cf659442a235de9ef87148390c65fb5 /rtemsspec
parent4eb1bcf15acaa2592c1cdcbc11ccca2620d20c69 (diff)
util: Strip only '\r' and '\n'
Diffstat (limited to 'rtemsspec')
-rw-r--r--rtemsspec/util.py2
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: