Skip to content
Snippets Groups Projects
Commit 0eabfa55 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix typo

parent 64085410
No related branches found
No related tags found
No related merge requests found
...@@ -397,7 +397,7 @@ class Keyring(object): ...@@ -397,7 +397,7 @@ class Keyring(object):
for server_name, key_ids in server_names_and_key_ids for server_name, key_ids in server_names_and_key_ids
} }
}, },
long_requests=True, long_retries=True,
) )
keys = {} keys = {}
......
...@@ -302,7 +302,7 @@ class MatrixFederationHttpClient(object): ...@@ -302,7 +302,7 @@ class MatrixFederationHttpClient(object):
defer.returnValue(json.loads(body)) defer.returnValue(json.loads(body))
@defer.inlineCallbacks @defer.inlineCallbacks
def post_json(self, destination, path, data={}, long_requests=True): def post_json(self, destination, path, data={}, long_retries=True):
""" Sends the specifed json data using POST """ Sends the specifed json data using POST
Args: Args:
...@@ -332,7 +332,7 @@ class MatrixFederationHttpClient(object): ...@@ -332,7 +332,7 @@ class MatrixFederationHttpClient(object):
path.encode("ascii"), path.encode("ascii"),
body_callback=body_callback, body_callback=body_callback,
headers_dict={"Content-Type": ["application/json"]}, headers_dict={"Content-Type": ["application/json"]},
long_requests=True, long_retries=True,
) )
if 200 <= response.code < 300: if 200 <= response.code < 300:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment