From 7b3d3dc85e9618f4b16f2c81a37429ebdaf5ebf2 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 2 Jan 2013 14:02:41 +1300 Subject: Documentation, setup.py updates, styling. --- libmproxy/authentication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmproxy/authentication.py') diff --git a/libmproxy/authentication.py b/libmproxy/authentication.py index 1f1f40ae..500ead6b 100644 --- a/libmproxy/authentication.py +++ b/libmproxy/authentication.py @@ -12,7 +12,7 @@ class NullProxyAuth(): def clean(self, headers): """ Clean up authentication headers, so they're not passed upstream. - """ + """ pass def authenticate(self, headers): @@ -33,7 +33,7 @@ class BasicProxyAuth(NullProxyAuth): AUTH_HEADER = 'Proxy-Authorization' def __init__(self, password_manager, realm): NullProxyAuth.__init__(self, password_manager) - self.realm = realm + self.realm = realm def clean(self, headers): del headers[self.AUTH_HEADER] -- cgit v1.2.3