diff options
| author | ting.wang <ting.wang@easystack.cn> | 2016-02-20 14:09:40 +0800 |
|---|---|---|
| committer | ting.wang <ting.wang@easystack.cn> | 2016-02-20 14:16:25 +0800 |
| commit | 5a978b9ec137cece167f0164dbb1754002a81bec (patch) | |
| tree | 73ab464b04bce75e78949434ec9deb0db79a45c8 /openstackclient/compute | |
| parent | ab6ba385a2c292a7a906390ad911db8c59811a07 (diff) | |
| download | python-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')
| -rw-r--r-- | openstackclient/compute/client.py | 2 |
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 |
