debug
This commit is contained in:
parent
26e6fc448c
commit
1a02e0763e
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ def serve_principal(cfg, sshUser, principals):
|
||||||
for p in util.getAllowedSSHPrincipals(config=cfg).split() :
|
for p in util.getAllowedSSHPrincipals(config=cfg).split() :
|
||||||
print TEMPLATE % dict(user=sshUser, principals=p)
|
print TEMPLATE % dict(user=sshUser, principals=p)
|
||||||
|
|
||||||
return TEMPLATE % dict(user=sshUser, principals=p)
|
log.debug(TEMPLATE % dict(user=sshUser, principals=p))
|
||||||
|
|
||||||
|
|
||||||
class Main(app.App):
|
class Main(app.App):
|
||||||
|
@ -46,7 +46,7 @@ class Main(app.App):
|
||||||
|
|
||||||
if sshUser != "":
|
if sshUser != "":
|
||||||
log.info('Running serve_principal for user %s', sshUser)
|
log.info('Running serve_principal for user %s', sshUser)
|
||||||
log.debug('serve_principal: %s', serve_principal(cfg, sshUser, principals))
|
#log.debug('serve_principal: %s', serve_principal(cfg, sshUser, principals))
|
||||||
serve_principal(cfg, sshUser, principals)
|
serve_principal(cfg, sshUser, principals)
|
||||||
log.info('Done.')
|
log.info('Done.')
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue