summaryrefslogtreecommitdiff
path: root/openstackclient/common/clientmanager.py
diff options
context:
space:
mode:
authorHongbin Lu <hongbin.lu@huawei.com>2017-11-13 15:23:16 +0000
committerHongbin Lu <hongbin.lu@huawei.com>2017-11-13 15:23:16 +0000
commit7ef2867ff61d6e4d468b80a9284fdb0bd5bdb6c9 (patch)
tree8935fca933b42a4acc38a681f73109c1cc4e630b /openstackclient/common/clientmanager.py
parent4742d4df7089cd10d03635a1b3dbca9e7e80b1cc (diff)
downloadpython-openstackclient-7ef2867ff61d6e4d468b80a9284fdb0bd5bdb6c9.tar.gz
Replace %r with %s on printing string variable
Change-Id: Idd8c15255f024bba7079d3a9a29545dec0c91b58
Diffstat (limited to 'openstackclient/common/clientmanager.py')
-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 7b2c8a5c..89781052 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -132,13 +132,13 @@ def get_plugin_modules(group):
"""Find plugin entry points"""
mod_list = []
for ep in pkg_resources.iter_entry_points(group):
- LOG.debug('Found plugin %r', ep.name)
+ LOG.debug('Found plugin %s', ep.name)
try:
__import__(ep.module_name)
except Exception:
sys.stderr.write(
- "WARNING: Failed to import plugin %r.\n" % ep.name)
+ "WARNING: Failed to import plugin %s.\n" % ep.name)
continue
module = sys.modules[ep.module_name]