Python 3
This commit is contained in:
parent
74adca7e7e
commit
1504a33496
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def serve_principal(cfg, sshUser, principals):
|
||||||
+'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).split() :
|
for p in util.getAllowedSSHPrincipals(config=cfg).split() :
|
||||||
print TEMPLATE % dict(user=sshUser.partition('@')[0], principals=p)
|
print(TEMPLATE % dict(user=sshUser.partition('@')[0], principals=p))
|
||||||
|
|
||||||
class Main(app.App):
|
class Main(app.App):
|
||||||
def create_parser(self):
|
def create_parser(self):
|
||||||
|
|
Loading…
Reference in a new issue