From: Simo Sorce Date: Wed, 19 Mar 2014 21:05:04 +0000 (-0400) Subject: Remove unused import and fix syntax X-Git-Tag: v0.2.2~76 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=a20ce824bb867e50e888d4ffb1357f35dbdfebc3 Remove unused import and fix syntax Signed-off-by: Simo Sorce --- 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()