Skip to content

Commit 7ef2867

Browse files
author
Hongbin Lu
committed
Replace %r with %s on printing string variable
Change-Id: Idd8c15255f024bba7079d3a9a29545dec0c91b58
1 parent 4742d4d commit 7ef2867

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openstackclient/common/clientmanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ def get_plugin_modules(group):
132132
"""Find plugin entry points"""
133133
mod_list = []
134134
for ep in pkg_resources.iter_entry_points(group):
135-
LOG.debug('Found plugin %r', ep.name)
135+
LOG.debug('Found plugin %s', ep.name)
136136

137137
try:
138138
__import__(ep.module_name)
139139
except Exception:
140140
sys.stderr.write(
141-
"WARNING: Failed to import plugin %r.\n" % ep.name)
141+
"WARNING: Failed to import plugin %s.\n" % ep.name)
142142
continue
143143

144144
module = sys.modules[ep.module_name]

0 commit comments

Comments
 (0)