Skip to content

Commit 0ba3829

Browse files
committed
Py3.10 compat.
1 parent ab60562 commit 0ba3829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/makeapp/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,6 @@ def run_command(command: str, *, err_msg: str = '', env: dict | None = None) ->
147147
data.append(item)
148148

149149
if prc.returncode:
150-
raise CommandError(err_msg or f"Command '{command}' failed: {'\n'.join(data)}")
150+
raise CommandError(err_msg or f"Command `{command}` failed: %s" % '\n'.join(data))
151151

152152
return data

0 commit comments

Comments
 (0)