mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
cmds.projects.CmdListRepos.run(): Fix trailing newline
projects list-repos prints a traling newline, remove that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
02697af568
commit
5078c27682
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ class CmdListRepos(Cmd): # export
|
||||||
if password is not None:
|
if password is not None:
|
||||||
ssh.set_password(password)
|
ssh.set_password(password)
|
||||||
cmd = ['/opt/jw-pkg/bin/git-srv-admin.sh', '-u', args.from_owner, '-j', 'list-personal-projects']
|
cmd = ['/opt/jw-pkg/bin/git-srv-admin.sh', '-u', args.from_owner, '-j', 'list-personal-projects']
|
||||||
print((await ssh.run(cmd)).decode().stdout)
|
result = await ssh.run(cmd)
|
||||||
|
print('\n'.join(result.stdout.decode().splitlines()))
|
||||||
return
|
return
|
||||||
case 'https':
|
case 'https':
|
||||||
cmd_input = None
|
cmd_input = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue