From a20ce824bb867e50e888d4ffb1357f35dbdfebc3 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 19 Mar 2014 17:05:04 -0400 Subject: [PATCH] Remove unused import and fix syntax Signed-off-by: Simo Sorce --- ipsilon/login/authkrb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ipsilon/login/authkrb.py b/ipsilon/login/authkrb.py index 77b907b..8069c6a 100755 --- a/ipsilon/login/authkrb.py +++ b/ipsilon/login/authkrb.py @@ -18,7 +18,6 @@ # along with this program. If not, see . from ipsilon.login.common import LoginPageBase, LoginManagerBase -from ipsilon.util.user import UserSession import cherrypy @@ -36,7 +35,7 @@ class KrbAuth(LoginPageBase): # If we can get here, we must be authenticated and remote_user # was set. Check the session has a user set already or error. if self.user and self.user.name: - userdata = { 'krb_principal_name': self.user.name } + userdata = {'krb_principal_name': self.user.name} return self.lm.auth_successful(self.user.name, userdata) else: return self.lm.auth_failed() -- 2.20.1