File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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" ))
You can’t perform that action at this time.
0 commit comments