mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-25 09:35:54 +02:00
jw.pkg.cmds.projects.CmdListRepos: Remove test code
Remove --insecure from curl invocation on janware.test. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4274a71c62
commit
53601c8abd
1 changed files with 0 additions and 2 deletions
|
|
@ -62,8 +62,6 @@ class CmdListRepos(Cmd): # export
|
||||||
if re.match(r'https://', args.base_url):
|
if re.match(r'https://', args.base_url):
|
||||||
# assume Forgejo Backend
|
# assume Forgejo Backend
|
||||||
curl_args = ['-f']
|
curl_args = ['-f']
|
||||||
if re.match(r'https://janware.test', args.base_url):
|
|
||||||
curl_args.append('--insecure')
|
|
||||||
if password is not None:
|
if password is not None:
|
||||||
assert username is not None
|
assert username is not None
|
||||||
cmd_input = (f'-u {username}:{password}').encode('utf-8')
|
cmd_input = (f'-u {username}:{password}').encode('utf-8')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue