aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http_auth.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2013-12-13 06:24:08 +0100
committerMaximilian Hils <git@maximilianhils.com>2013-12-13 06:24:08 +0100
commit969595cca70edc4d02d5f676221267edf01e4252 (patch)
tree566f0a304c65a62790774f356a39f1d286811305 /netlib/http_auth.py
parent22aae5fb6654e685e5a1f42ad0f0ea5864f0e2c8 (diff)
downloadmitmproxy-969595cca70edc4d02d5f676221267edf01e4252.tar.gz
mitmproxy-969595cca70edc4d02d5f676221267edf01e4252.tar.bz2
mitmproxy-969595cca70edc4d02d5f676221267edf01e4252.zip
add requirements.txt, small changes
Diffstat (limited to 'netlib/http_auth.py')
-rw-r--r--netlib/http_auth.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/netlib/http_auth.py b/netlib/http_auth.py
index 69bee5c1..8f062826 100644
--- a/netlib/http_auth.py
+++ b/netlib/http_auth.py
@@ -126,8 +126,6 @@ class AuthAction(Action):
"""
def __call__(self, parser, namespace, values, option_string=None):
passman = self.getPasswordManager(values)
- if not passman:
- raise ArgumentTypeError("Error creating password manager for proxy authentication.")
authenticator = BasicProxyAuth(passman, "mitmproxy")
setattr(namespace, self.dest, authenticator)