diff --git a/gitosis/principals.py b/gitosis/principals.py index 32e5476..8871523 100644 --- a/gitosis/principals.py +++ b/gitosis/principals.py @@ -21,7 +21,7 @@ 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 p in [ util.getAllowedSSHPrincipals(config=cfg) ] : + for p in util.getAllowedSSHPrincipals(config=cfg).split() : print TEMPLATE % dict(user=sshUser, principals=p) return TEMPLATE % dict(user=sshUser, principals=p)