Skip to content

Commit 8dc8808

Browse files
tomc271ZedThree
andauthored
Use f-string
Co-authored-by: Peter Hill <zed.three@gmail.com>
1 parent e9e328a commit 8dc8808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/boututils/run_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def shell(command, pipe=False, env=None):
5353
)
5454
output = result.stdout if pipe else ""
5555
if result.stderr:
56-
output += "\nSTDERR:\n" + result.stderr
56+
output = f"{output}\nSTDERR:\n{result.stderr}"
5757
return result.returncode, output
5858

5959

0 commit comments

Comments
 (0)