summaryrefslogtreecommitdiff
path: root/openstackclient/compute/client.py
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2014-05-20 13:11:19 +0200
committerChristian Berendt <berendt@b1-systems.de>2014-05-20 13:49:56 +0200
commit3b485de6b0495d1e9f6d659463a187d73a783594 (patch)
tree9edd5a76451b0b32682d7761e2b0189036db26f9 /openstackclient/compute/client.py
parent870e7ddbcce5d5f1b1bd36bb3ad95665565b3ced (diff)
downloadpython-openstackclient-3b485de6b0495d1e9f6d659463a187d73a783594.tar.gz
replace string format arguments with function parameters
There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
Diffstat (limited to 'openstackclient/compute/client.py')
-rw-r--r--openstackclient/compute/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py
index 765a48db..3dacee88 100644
--- a/openstackclient/compute/client.py
+++ b/openstackclient/compute/client.py
@@ -34,7 +34,7 @@ def make_client(instance):
API_NAME,
instance._api_version[API_NAME],
API_VERSIONS)
- LOG.debug('instantiating compute client: %s' % compute_client)
+ LOG.debug('instantiating compute client: %s', compute_client)
# Set client http_log_debug to True if verbosity level is high enough
http_log_debug = utils.get_effective_log_level() <= logging.DEBUG