fix: Mercury extractor error was incorrectly initialized
This commit is contained in:
parent
e9e4adfc34
commit
6031ffa3b2
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ def ShellError(cmd: List[str], result: CompletedProcess, lines: int=20) -> Archi
|
||||||
# parse out last line of stderr
|
# parse out last line of stderr
|
||||||
return ArchiveError(
|
return ArchiveError(
|
||||||
f'Got {cmd[0]} response code: {result.returncode}).',
|
f'Got {cmd[0]} response code: {result.returncode}).',
|
||||||
*(
|
" ".join(
|
||||||
line.strip()
|
line.strip()
|
||||||
for line in (result.stdout + result.stderr).decode().rsplit('\n', lines)[-lines:]
|
for line in (result.stdout + result.stderr).decode().rsplit('\n', lines)[-lines:]
|
||||||
if line.strip()
|
if line.strip()
|
||||||
|
|
Loading…
Reference in a new issue