summaryrefslogtreecommitdiff
path: root/src/leap/common/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/common/http.py')
-rw-r--r--src/leap/common/http.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/common/http.py b/src/leap/common/http.py
index dd1b0f9..1f30903 100644
--- a/src/leap/common/http.py
+++ b/src/leap/common/http.py
@@ -293,7 +293,8 @@ class HTTPClient(object):
:return: A deferred that fires with the body of the request.
:rtype: twisted.internet.defer.Deferred
"""
- assert callable(callback), "The callback parameter should be a callable!"
+ assert callable(callback), ("The callback parameter "
+ "should be a callable!")
return self._semaphore.run(self._request, url, method, body, headers,
callback)