diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-03 13:23:28 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-03 17:22:38 +0100 |
commit | 1e6c811768992f4b46ba2e1da335cb966bb93f45 (patch) | |
tree | dc27ab981fc699e98c2120f96a9824fff09f14d4 /deluge/ui/web/auth.py | |
parent | 95f859673ee2d0cfb052f92f8341aa4cf89ae57a (diff) | |
download | deluge-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.py | 4 |
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 |