debugging
This commit is contained in:
parent
458e7e2a09
commit
174de200c5
1 changed files with 2 additions and 2 deletions
|
@ -21,10 +21,10 @@ 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):
|
||||||
print TEMPLATE % dict(user=sshUser, principals=p)
|
print TEMPLATE % dict(user=sshUser, principals=p)
|
||||||
|
|
||||||
return TEMPLATE % dict(user=sshUser, principals=util.p)
|
return TEMPLATE % dict(user=sshUser, principals=p)
|
||||||
|
|
||||||
|
|
||||||
class Main(app.App):
|
class Main(app.App):
|
||||||
|
|
Loading…
Reference in a new issue