summaryrefslogtreecommitdiffstats
path: root/ipsilon/login
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-05-20 15:25:29 -0400
committerSimo Sorce <simo@redhat.com>2014-05-20 15:31:08 -0400
commitf47a95ba1df58ccf9784c47beeaa0702c469b3e1 (patch)
tree39d30949d1ce208b069390a3d123f917212eb27a /ipsilon/login
parentc911c46edffa30445f0d11636e575a7574d965c4 (diff)
downloadipsilon-f47a95ba1df58ccf9784c47beeaa0702c469b3e1.tar.gz
ipsilon-f47a95ba1df58ccf9784c47beeaa0702c469b3e1.tar.xz
ipsilon-f47a95ba1df58ccf9784c47beeaa0702c469b3e1.zip
Fix E713 with stricter pep8 error checker
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipsilon/login')
-rwxr-xr-xipsilon/login/authkrb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsilon/login/authkrb.py b/ipsilon/login/authkrb.py
index 7132913..af659e7 100755
--- a/ipsilon/login/authkrb.py
+++ b/ipsilon/login/authkrb.py
@@ -52,7 +52,7 @@ class KrbError(LoginPageBase):
# If we have no negotiate header return whatever mod_auth_kerb
# generated and wait for the next request
- if not 'WWW-Authenticate' in cherrypy.request.headers:
+ if 'WWW-Authenticate' not in cherrypy.request.headers:
cherrypy.response.status = 401
if self.lm.next_login: