diff options
author | Matthew Hodgson <matthew@matrix.org> | 2014-12-10 00:03:55 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2014-12-10 00:03:55 +0000 |
commit | 2b1acb7671e33baeb01be2f0facd20cd6ea7e3b5 (patch) | |
tree | b89d71d74e72bb9713e5b891ad401f9ac3940324 /synapse/http/matrixfederationclient.py | |
parent | fix UTs by telling all the mock stores about the new methods for tracking ret... (diff) | |
download | synapse-2b1acb7671e33baeb01be2f0facd20cd6ea7e3b5.tar.xz |
squidge to 79 columns as per pep8
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index 3edc59dbab..c76990904d 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -90,7 +90,7 @@ class MatrixFederationHttpClient(object): ) logger.info("Sending request to %s: %s %s", - destination, method, url_bytes) + destination, method, url_bytes) logger.debug( "Types: %s", @@ -135,7 +135,7 @@ class MatrixFederationHttpClient(object): raise SynapseError(400, "Domain specified not found.") logger.exception("Sending request failed to %s: %s %s : %s", - destination, method, url_bytes, e) + destination, method, url_bytes, e) _print_ex(e) if retries_left: @@ -145,7 +145,8 @@ class MatrixFederationHttpClient(object): raise logger.info("Received response %d %s for %s: %s %s", - response.code, response.phrase, destination, method, url_bytes) + response.code, response.phrase, + destination, method, url_bytes) if 200 <= response.code < 300: # We need to update the transactions table to say it was sent? |