aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Fernandez <matthew.fernandez@gmail.com>2017-11-02 22:16:11 -0700
committerMatthew Fernandez <matthew.fernandez@gmail.com>2017-11-02 22:16:11 -0700
commit76d724bcc691d382d0f0541a0761c5f2f4da0ffc (patch)
tree22dd51a2c89a8626ed19487a6b7b4ed9b37d1926
parentadee3a503a9b07a73676e65df3af2c9abc8f2acf (diff)
downloadbugseverywhere-76d724bcc691d382d0f0541a0761c5f2f4da0ffc.tar.gz
remove unused Unauthenticated class
-rw-r--r--libbe/util/wsgi.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/libbe/util/wsgi.py b/libbe/util/wsgi.py
index 2e97941..956fa5c 100644
--- a/libbe/util/wsgi.py
+++ b/libbe/util/wsgi.py
@@ -87,12 +87,6 @@ class HandlerError (Exception):
self.headers = headers
-class Unauthenticated (HandlerError):
- def __init__(self, realm, msg='User Not Authenticated', headers=[]):
- super(Unauthenticated, self).__init__(401, msg, headers+[
- ('WWW-Authenticate','Basic realm="{}"'.format(realm))])
-
-
class Unauthorized (HandlerError):
def __init__(self, msg='User Not Authorized', headers=[]):
super(Unauthorized, self).__init__(403, msg, headers)