diff options
author | Kali Kaneko <kali@leap.se> | 2017-09-20 21:17:04 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-09-20 21:24:38 +0200 |
commit | 57358304bc8b288f7b9df5f0d9a18df394fe77e6 (patch) | |
tree | cef5358d90b936362fe562d0d012d995a3740ee0 /src/leap/common/http.py | |
parent | e4587411f03d768e3b74b9466f89355754d72597 (diff) |
[style] pep8 and changelog
Diffstat (limited to 'src/leap/common/http.py')
-rw-r--r-- | src/leap/common/http.py | 3 |
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) |