summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/auth.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2014-08-19 13:01:07 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2014-08-19 13:01:18 +0100
commita2c3fb3d5e7af625c3bba4a45f1693b8e9f587d4 (patch)
tree41dd30fadaee48bd5b16aa7237b131e4b6a14b8e /deluge/ui/web/auth.py
parent069d820d399c8060ecc4442eda353cd8e3e027e8 (diff)
downloaddeluge-a2c3fb3d5e7af625c3bba4a45f1693b8e9f587d4.tar.gz
deluge-a2c3fb3d5e7af625c3bba4a45f1693b8e9f587d4.tar.bz2
deluge-a2c3fb3d5e7af625c3bba4a45f1693b8e9f587d4.zip
[WebUI] Flake8 files
* Does not pass cleanly due to camelcase function names and __request__ global.
Diffstat (limited to 'deluge/ui/web/auth.py')
-rw-r--r--deluge/ui/web/auth.py35
1 files changed, 5 insertions, 30 deletions
diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py
index 5019fa3ba..c69526dd9 100644
--- a/deluge/ui/web/auth.py
+++ b/deluge/ui/web/auth.py
@@ -1,37 +1,12 @@
-#
-# deluge/ui/web/auth.py
+# -*- coding: utf-8 -*-
#
# Copyright (C) 2009 Damien Churchill <damoxc@gmail.com>
#
-# Deluge is free software.
-#
-# You may redistribute it and/or modify it under the terms of the
-# GNU General Public License, as published by the Free Software
-# Foundation; either version 3 of the License, or (at your option)
-# any later version.
-#
-# deluge is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with deluge. If not, write to:
-# The Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor
-# Boston, MA 02110-1301, USA.
-#
-# In addition, as a special exception, the copyright holders give
-# permission to link the code of portions of this program with the OpenSSL
-# library.
-# You must obey the GNU General Public License in all respects for all of
-# the code used other than OpenSSL. If you modify file(s) with this
-# exception, you may extend this exception to your version of the file(s),
-# but you are not obligated to do so. If you do not wish to do so, delete
-# this exception statement from your version. If you delete this exception
-# statement from all source files in the program, then also delete it here.
-#
+# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
+# the additional special exception to link portions of this program with the OpenSSL library.
+# See LICENSE for more details.
#
+
import time
import random
import hashlib