mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-28 16:45:24 +02:00
lib.SSHClient: Move to lib.ec
SSHClient in an ExecContext, hence it's better off in lib.ec, move it there and adapt the references. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
54a6053cc2
commit
f37f025b17
3 changed files with 5 additions and 5 deletions
|
|
@ -32,7 +32,7 @@ class CmdListRepos(Cmd): # export
|
|||
match url.scheme:
|
||||
case 'ssh':
|
||||
if re.match(r'ssh://.*git\.janware\.com/', args.base_url):
|
||||
from jw.pkg.lib.SSHClient import ssh_client
|
||||
from jw.pkg.lib.ec.SSHClient import ssh_client
|
||||
ssh = ssh_client(args.base_url)
|
||||
if username is not None:
|
||||
ssh.set_username(username)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue