variable renamed
This commit is contained in:
parent
64b3391498
commit
458e7e2a09
1 changed files with 3 additions and 5 deletions
|
@ -21,12 +21,10 @@ 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=principal)
|
||||
for p in util.getAllowedSSHPrincipals(config=cfg):
|
||||
print TEMPLATE % dict(user=sshUser, principals=p)
|
||||
|
||||
return TEMPLATE % dict(user=sshUser,
|
||||
principals=util.principal)
|
||||
return TEMPLATE % dict(user=sshUser, principals=util.p)
|
||||
|
||||
|
||||
class Main(app.App):
|
||||
|
|
Loading…
Reference in a new issue