diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-12-12 08:48:58 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-12-12 08:48:58 +0000 |
commit | 38ae02928ddc72a1d8ed5a36c3de0eaa69111c32 (patch) | |
tree | 6ae2f80a6fd71635f54a3266c5147ff0b4c5e1f3 /swiftclient | |
parent | 50ad1e0b14b93873cbab6f0f7a8cc70da23bd36f (diff) | |
parent | c81a9edd1f788c3ba034c56000bcff82b940c1c8 (diff) | |
download | python-swiftclient-38ae02928ddc72a1d8ed5a36c3de0eaa69111c32.tar.gz |
Merge "Fixes python-swiftclient debugging message"
Diffstat (limited to 'swiftclient')
-rw-r--r-- | swiftclient/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py index dbef2cc..0eef678 100644 --- a/swiftclient/client.py +++ b/swiftclient/client.py @@ -532,7 +532,8 @@ def get_container(url, token, container, marker=None, limit=None, conn.request(method, '%s?%s' % (cont_path, qs), '', headers) resp = conn.getresponse() body = resp.read() - http_log(('%s?%s' % (url, qs), method,), {'headers': headers}, resp, body) + http_log(('%s%s?%s' % (url.replace(parsed.path, ''), cont_path, qs), + method,), {'headers': headers}, resp, body) if resp.status < 200 or resp.status >= 300: raise ClientException('Container GET failed', |