summaryrefslogtreecommitdiff
path: root/src/leap/soledad/auth.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-05-15 19:53:53 -0300
committerdrebs <drebs@leap.se>2013-05-15 19:53:53 -0300
commit7e6f458af4c7b51f414d6303942fec10dd56d2d3 (patch)
treed29bbbbe4d65db25f69f71a550097b5037d938db /src/leap/soledad/auth.py
parenta1df8fe814d9733cfc4aea635864fc9fe7383962 (diff)
Fix pep8 style.
Diffstat (limited to 'src/leap/soledad/auth.py')
-rw-r--r--src/leap/soledad/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/auth.py b/src/leap/soledad/auth.py
index 1d8f1a42..562a8263 100644
--- a/src/leap/soledad/auth.py
+++ b/src/leap/soledad/auth.py
@@ -44,7 +44,6 @@ class TokenBasedAuth(object):
"""
self._creds = {'token': (uuid, token)}
-
def _sign_request(self, method, url_query, params):
"""
Return an authorization header to be included in the HTTP request, in
@@ -67,4 +66,5 @@ class TokenBasedAuth(object):
auth = '%s:%s' % (uuid, token)
return [('Authorization', 'Token %s' % auth.encode('base64')[:-1])]
else:
- return HTTPClientBase._sign_request(self, method, url_query, params)
+ return HTTPClientBase._sign_request(
+ self, method, url_query, params)