From d387c61daa9fa57607223e598d52edfd5d64ffa3 Mon Sep 17 00:00:00 2001
From: Sergio Cazzolato <sergio.j.cazzolato@intel.com>
Date: Fri, 29 Nov 2013 20:46:22 -0500
Subject: [PATCH] changed things because reasons

Dictionaries added in texts to improve readability in case there
are 2 params

Change-Id: I064cceeaa56b232504c6f0b6c215c9c5dbb7fcef
---
 swiftclient/client.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/swiftclient/client.py b/swiftclient/client.py
index afd11bec..d23d467c 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -538,8 +538,11 @@ 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?%s' % (url.replace(parsed.path, ''), cont_path, qs),
-              method,), {'headers': headers}, resp, body)
+    http_log(('%(url)s%(cont_path)s?%(qs)s' %
+              {'url': url.replace(parsed.path, ''),
+               'cont_path': cont_path,
+               'qs': qs}, method,),
+             {'headers': headers}, resp, body)
 
     if resp.status < 200 or resp.status >= 300:
         raise ClientException('Container GET failed',