kwargs doesn't like commas on calling funcs either. TIL
parent
bb52a2e653
commit
2150151abe
|
@ -220,7 +220,7 @@ class MatrixFederationHttpClient(object):
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
response = yield self._send_request(
|
response = yield self._send_request(
|
||||||
request, backoff_on_404=backoff_on_404, **send_request_args,
|
request, backoff_on_404=backoff_on_404, **send_request_args
|
||||||
)
|
)
|
||||||
except HttpResponseException as e:
|
except HttpResponseException as e:
|
||||||
# Received an HTTP error > 300. Check if it meets the requirements
|
# Received an HTTP error > 300. Check if it meets the requirements
|
||||||
|
@ -237,7 +237,7 @@ class MatrixFederationHttpClient(object):
|
||||||
request.path += "/"
|
request.path += "/"
|
||||||
|
|
||||||
response = yield self._send_request(
|
response = yield self._send_request(
|
||||||
request, backoff_on_404=backoff_on_404, **send_request_args,
|
request, backoff_on_404=backoff_on_404, **send_request_args
|
||||||
)
|
)
|
||||||
|
|
||||||
defer.returnValue(response)
|
defer.returnValue(response)
|
||||||
|
|
Loading…
Reference in New Issue