mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
squidge to 79 columns as per pep8
This commit is contained in:
parent
8ada2d2018
commit
2b1acb7671
3 changed files with 36 additions and 19 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue