summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/auth.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2014-09-03 13:23:28 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2014-09-03 17:22:38 +0100
commit1e6c811768992f4b46ba2e1da335cb966bb93f45 (patch)
treedc27ab981fc699e98c2120f96a9824fff09f14d4 /deluge/ui/web/auth.py
parent95f859673ee2d0cfb052f92f8341aa4cf89ae57a (diff)
downloaddeluge-1e6c811768992f4b46ba2e1da335cb966bb93f45.tar.gz
deluge-1e6c811768992f4b46ba2e1da335cb966bb93f45.tar.bz2
deluge-1e6c811768992f4b46ba2e1da335cb966bb93f45.zip
[Python-Modernize] lib2to3.fixes.fix_except
* Use 'ex' instead of 'e' to conform with pylint * Minimal Flake8 on some files
Diffstat (limited to 'deluge/ui/web/auth.py')
-rw-r--r--deluge/ui/web/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py
index c69526dd9..93912411c 100644
--- a/deluge/ui/web/auth.py
+++ b/deluge/ui/web/auth.py
@@ -59,8 +59,8 @@ def get_session_id(session_id):
if checksum == make_checksum(session_id):
return session_id
return None
- except Exception, e:
- log.exception(e)
+ except Exception as ex:
+ log.exception(ex)
return None