Skip to content

Commit 8872610

Browse files
committed
fix translations
1 parent 43c5b52 commit 8872610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

oclp_r/support/subprocess_wrapper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ def generate_log(process: subprocess.CompletedProcess) -> str:
116116
...
117117
"""
118118
output = trans["Subprocess failed."]+"\n"
119-
output += trans["Command: {0}"]+"\n".format(process.args)
120-
output += trans["Return Code: {0}"]+"\n".format(process.returncode)
119+
output += trans["Command: {0}"].format(process.args)+"\n"
120+
output += trans["Return Code: {0}"].format(process.returncode)+"\n"
121121
_returned_error = __resolve_privileged_helper_errors(process.returncode)
122122
if _returned_error:
123-
output += trans[" Likely Enum: {0}"]+"\n".format(_returned_error)
123+
output += trans[" Likely Enum: {0}"].format(_returned_error)+"\n"
124124
output += trans["Standard Output:"]+"\n"
125125
if process.stdout:
126126
output += __format_output(process.stdout.decode("utf-8"))

0 commit comments

Comments
 (0)