changed things because reasons
Dictionaries added in texts to improve readability in case there are 2 params Change-Id: I064cceeaa56b232504c6f0b6c215c9c5dbb7fcef
This commit is contained in:
parent
9b73547b7d
commit
d387c61daa
@ -538,8 +538,11 @@ def get_container(url, token, container, marker=None, limit=None,
|
|||||||
conn.request(method, '%s?%s' % (cont_path, qs), '', headers)
|
conn.request(method, '%s?%s' % (cont_path, qs), '', headers)
|
||||||
resp = conn.getresponse()
|
resp = conn.getresponse()
|
||||||
body = resp.read()
|
body = resp.read()
|
||||||
http_log(('%s%s?%s' % (url.replace(parsed.path, ''), cont_path, qs),
|
http_log(('%(url)s%(cont_path)s?%(qs)s' %
|
||||||
method,), {'headers': headers}, resp, body)
|
{'url': url.replace(parsed.path, ''),
|
||||||
|
'cont_path': cont_path,
|
||||||
|
'qs': qs}, method,),
|
||||||
|
{'headers': headers}, resp, body)
|
||||||
|
|
||||||
if resp.status < 200 or resp.status >= 300:
|
if resp.status < 200 or resp.status >= 300:
|
||||||
raise ClientException('Container GET failed',
|
raise ClientException('Container GET failed',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user