diff --git a/gitosis/principals.py b/gitosis/principals.py index 223ba00..390d568 100644 --- a/gitosis/principals.py +++ b/gitosis/principals.py @@ -24,10 +24,10 @@ def serve_principal(sshUser, principals): if '@' in sshUser: for user in [ sshUser, sshUser.split('@')[0] ]: print TEMPLATE % dict(user=user, - principals=getAllowedSSHPrincipals(cfg)) + principals=getAllowedSSHPrincipals(config=cfg)) else: print TEMPLATE % dict(user=sshUser, - principals=util.getAllowedSSHPrincipals(cfg)) + principals=util.getAllowedSSHPrincipals(config=cfg)) class Main(app.App):