diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-07-11 19:47:33 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-07-11 19:47:33 +0000 |
commit | d5a45fcd2d92c1328d35c54e09712c1152f1af19 (patch) | |
tree | 8e00e7a0eb361b984d608082ce0341f9b2b8bdaf | |
parent | 74f921f2851864a87620edc8259b7e387a826816 (diff) | |
parent | 9020b29141ac9c9b785947c358a29b6da8d441a8 (diff) | |
download | python-swiftclient-d5a45fcd2d92c1328d35c54e09712c1152f1af19.tar.gz |
Merge "replace string format arguments with function parameters"
-rw-r--r-- | swiftclient/client.py | 4 |
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) |