mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
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