summaryrefslogtreecommitdiff
path: root/openstackclient/common
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/common
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/common')
-rw-r--r--openstackclient/common/clientmanager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
index dce19725..5696b9e1 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -167,8 +167,8 @@ class ClientManager(object):
elif 'tenant_name' in self._auth_params:
self._project_name = self._auth_params['tenant_name']
- LOG.info('Using auth plugin: %s' % self.auth_plugin_name)
- LOG.debug('Using parameters %s' %
+ LOG.info('Using auth plugin: %s', self.auth_plugin_name)
+ LOG.debug('Using parameters %s',
strutils.mask_password(self._auth_params))
self.auth = auth_plugin.load_from_options(**self._auth_params)
# needed by SAML authentication