This commit is contained in:
Adrien Ferrand 2021-05-31 23:23:36 +02:00
parent 7943b4295d
commit 493f1d2999

View file

@ -658,7 +658,7 @@ class ClientV2(ClientBase):
response = self._post(self.directory['newOrder'], order)
body = messages.Order.from_json(response.json())
authorizations = []
for url in body.authorizations:
for url in body.authorizations: # pylint: disable=not-an-iterable
authorizations.append(self._authzr_from_response(self._post_as_get(url), uri=url))
return messages.OrderResource(
body=body,