From 57358304bc8b288f7b9df5f0d9a18df394fe77e6 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 20 Sep 2017 21:17:04 +0200 Subject: [style] pep8 and changelog --- src/leap/common/http.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/leap') 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) -- cgit v1.2.3