global: refactor to use config.{file,runtime}.$member instead of config.file["$member"]
This commit is contained in:
parent
13ad63446e
commit
bef0efc637
15 changed files with 65 additions and 54 deletions
2
ssh.py
2
ssh.py
|
@ -32,7 +32,7 @@ def run_ssh_command(cmd: list[str] = [],
|
|||
extra_args = []
|
||||
if len(keys) > 0:
|
||||
extra_args += ['-i', keys[0]]
|
||||
if config.runtime['verbose']:
|
||||
if config.runtime.verbose:
|
||||
extra_args += ['-v']
|
||||
if alloc_tty:
|
||||
extra_args += ['-t']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue