a line for each principal
This commit is contained in:
parent
55b54aed64
commit
64b3391498
1 changed files with 5 additions and 4 deletions
|
@ -21,11 +21,12 @@ def serve_principal(cfg, sshUser, principals):
|
|||
TEMPLATE=('command="gitosis-serve %(user)s",no-port-forwarding,'
|
||||
+'no-X11-forwarding,no-agent-forwarding,no-pty %(principals)s')
|
||||
|
||||
for principal in util.getAllowedSSHPrincipals(config=cfg):
|
||||
print TEMPLATE % dict(user=sshUser,
|
||||
principals=util.getAllowedSSHPrincipals(config=cfg))
|
||||
principals=principal)
|
||||
|
||||
return TEMPLATE % dict(user=sshUser,
|
||||
principals=util.getAllowedSSHPrincipals(config=cfg))
|
||||
principals=util.principal)
|
||||
|
||||
|
||||
class Main(app.App):
|
||||
|
|
Loading…
Reference in a new issue