diff options
-rw-r--r-- | CHANGELOG.rst | 4 | ||||
-rw-r--r-- | src/leap/common/http.py | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6bba298..1f9cbb3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,10 @@ Changelog ----------------- .. note:: This version is not yet released and is under active development. + +Bugfixes +++++++++ +- Add proper formatting for the modification time (if-modified-since header) 0.6.0 Jul 14, 2017 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) |