summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-07-11 19:47:33 +0000
committerGerrit Code Review <review@openstack.org>2014-07-11 19:47:33 +0000
commitd5a45fcd2d92c1328d35c54e09712c1152f1af19 (patch)
tree8e00e7a0eb361b984d608082ce0341f9b2b8bdaf
parent74f921f2851864a87620edc8259b7e387a826816 (diff)
parent9020b29141ac9c9b785947c358a29b6da8d441a8 (diff)
downloadpython-swiftclient-d5a45fcd2d92c1328d35c54e09712c1152f1af19.tar.gz
Merge "replace string format arguments with function parameters"
-rw-r--r--swiftclient/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index 78e2cfe..7b50860 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -88,8 +88,8 @@ def http_log(args, kwargs, resp, body):
else:
log_method = logger.info
- log_method("REQ: %s" % "".join(string_parts))
- log_method("RESP STATUS: %s %s" % (resp.status, resp.reason))
+ log_method("REQ: %s", "".join(string_parts))
+ log_method("RESP STATUS: %s %s", resp.status, resp.reason)
log_method("RESP HEADERS: %s", resp.getheaders())
if body:
log_method("RESP BODY: %s", body)