summaryrefslogtreecommitdiff
path: root/openstackclient/compute/client.py
diff options
context:
space:
mode:
authorting.wang <ting.wang@easystack.cn>2016-02-20 14:09:40 +0800
committerting.wang <ting.wang@easystack.cn>2016-02-20 14:16:25 +0800
commit5a978b9ec137cece167f0164dbb1754002a81bec (patch)
tree73ab464b04bce75e78949434ec9deb0db79a45c8 /openstackclient/compute/client.py
parentab6ba385a2c292a7a906390ad911db8c59811a07 (diff)
downloadpython-openstackclient-5a978b9ec137cece167f0164dbb1754002a81bec.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: I15b405bf4d4715263fe1e1262982467b3d4bc1f4 Closes-Bug: #1321274
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 23a4deca..1481ed65 100644
--- a/openstackclient/compute/client.py
+++ b/openstackclient/compute/client.py
@@ -42,7 +42,7 @@ def make_client(instance):
else:
version = instance._api_version[API_NAME]
- LOG.debug('Instantiating compute client for V%s' % version)
+ LOG.debug('Instantiating compute client for V%s', version)
# Set client http_log_debug to True if verbosity level is high enough
http_log_debug = utils.get_effective_log_level() <= logging.DEBUG