From 26e6fc448c13e20c77c97ffa5186c220212880b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sat, 3 Aug 2019 15:26:17 +0200 Subject: [PATCH] split output --- gitosis/principals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)