Skip to content

Commit aed54e0

Browse files
committed
_ssh: remove duplicate default values
The entrypoint is ssh(), and the default values are already there. Signed-off-by: Yann Dirson <[email protected]>
1 parent 43ea6dd commit aed54e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def _ellide_log_lines(log):
6565
OUPUT_LOGGER.addHandler(OUTPUT_HANDLER)
6666
OUTPUT_HANDLER.setFormatter(logging.Formatter('%(message)s'))
6767

68-
def _ssh(hostname_or_ip, cmd, check=True, simple_output=True, suppress_fingerprint_warnings=True,
69-
background=False, target_os='linux', decode=True, options=[]):
68+
def _ssh(hostname_or_ip, cmd, check, simple_output, suppress_fingerprint_warnings,
69+
background, target_os, decode, options):
7070
opts = list(options)
7171
opts.append('-o "BatchMode yes"')
7272
if suppress_fingerprint_warnings:

0 commit comments

Comments
 (0)