cmds.projects.ListRepos: Fix missing await
Fix
CmdListRepos.py:51: RuntimeWarning: coroutine 'FileTransfer.close' was never awaited
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f445b196c9
commit
781393ad42
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class CmdListRepos(Cmd): # export
|
||||||
raise
|
raise
|
||||||
finally:
|
finally:
|
||||||
if ssh is not None:
|
if ssh is not None:
|
||||||
ssh.close()
|
await ssh.close()
|
||||||
case 'https':
|
case 'https':
|
||||||
from jw.pkg.lib.base import InputMode
|
from jw.pkg.lib.base import InputMode
|
||||||
cmd_input = InputMode.NonInteractive
|
cmd_input = InputMode.NonInteractive
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue