mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
build.cmds.CmdListRepos: Fix ssh://git.janware.com
A typo breaks enumeration of Git repos on git.janware.com, fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e1a4746ad5
commit
bf6a83ccac
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class CmdListRepos(Cmd): # export
|
||||||
case 'ssh':
|
case 'ssh':
|
||||||
password = get_password(args=args, url=args.base_url, askpass_env=['GIT_ASKPASS', 'SSH_ASKPASS'])
|
password = get_password(args=args, url=args.base_url, askpass_env=['GIT_ASKPASS', 'SSH_ASKPASS'])
|
||||||
if re.match(r'ssh://.*git\.janware\.com/', args.base_url):
|
if re.match(r'ssh://.*git\.janware\.com/', args.base_url):
|
||||||
from jw.build.libSSHClientCmd import SSHClientCmd as SSHClient
|
from jw.build.lib.SSHClient import SSHClientCmd as SSHClient
|
||||||
ssh = SSHClient(hostname=url.hostname)
|
ssh = SSHClient(hostname=url.hostname)
|
||||||
if username is not None:
|
if username is not None:
|
||||||
ssh.set_username(username)
|
ssh.set_username(username)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue