1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Expand tab with 8 spaces

This commit is contained in:
Hiroaki Nakamura 2016-06-26 09:20:49 +09:00 committed by Matt Clay
parent dd19f6d61b
commit c00de7b3c9

View file

@ -284,9 +284,9 @@ class LxdContainerManagement(object):
def _send_request(self, method, url, body_json=None, ok_error_codes=None):
try:
body = json.dumps(body_json)
body = json.dumps(body_json)
self.connection.request(method, url, body=body)
resp = self.connection.getresponse()
resp = self.connection.getresponse()
resp_json = json.loads(resp.read())
self.logs.append({
'type': 'sent request',