ExecContext: Fix output handling #9

Merged
Jan Lindemann merged 5 commits from jan/fix/20260610-lib-execcontext-put-fix-forgotten-input into master 2026-06-10 13:08:29 +02:00 AGit
Showing only changes of commit 812ddaa1b0 - Show all commits

lib.Result.__repr__() Fix missing f-qualifier

__repr__() tries to format a variable in an f-string without "f". Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
Jan Lindemann 2026-06-10 11:33:43 +02:00
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -46,7 +46,7 @@ class Result:
else: else:
ret = self.stdout_str[:20] ret = self.stdout_str[:20]
if quote: if quote:
ret = '"{ret}"' ret = f'"{ret}"'
return ret return ret
def __repr__(self) -> str: def __repr__(self) -> str: