split output
This commit is contained in:
parent
6c2c4ecd6d
commit
26e6fc448c
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def serve_principal(cfg, sshUser, principals):
|
||||||
TEMPLATE=('command="gitosis-serve %(user)s",no-port-forwarding,'
|
TEMPLATE=('command="gitosis-serve %(user)s",no-port-forwarding,'
|
||||||
+'no-X11-forwarding,no-agent-forwarding,no-pty %(principals)s')
|
+'no-X11-forwarding,no-agent-forwarding,no-pty %(principals)s')
|
||||||
|
|
||||||
for p in [ util.getAllowedSSHPrincipals(config=cfg) ] :
|
for p in util.getAllowedSSHPrincipals(config=cfg).split() :
|
||||||
print TEMPLATE % dict(user=sshUser, principals=p)
|
print TEMPLATE % dict(user=sshUser, principals=p)
|
||||||
|
|
||||||
return TEMPLATE % dict(user=sshUser, principals=p)
|
return TEMPLATE % dict(user=sshUser, principals=p)
|
||||||
|
|
Loading…
Reference in a new issue