Skip to content

Commit

Permalink
LocalCommandFailed: fix ctor upcall
Browse files Browse the repository at this point in the history
Signed-off-by: Yann Dirson <[email protected]>
  • Loading branch information
ydirson committed Aug 28, 2024
1 parent 4de1e3d commit 462ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, returncode, stdout, cmd):
class LocalCommandFailed(BaseCommandFailed):
def __init__(self, returncode, stdout, cmd):
msg_end = f": {stdout}" if stdout else "."
super(SSHCommandFailed, self).__init__(
super(LocalCommandFailed, self).__init__(
returncode, stdout, cmd,
f'Local command ({cmd}) failed with return code {returncode}{msg_end}'
)
Expand Down

0 comments on commit 462ff23

Please sign in to comment.