Replace %r with %s on printing string variable

Change-Id: Idd8c15255f024bba7079d3a9a29545dec0c91b58
This commit is contained in:
Hongbin Lu 2017-11-13 15:23:16 +00:00
parent 4742d4df70
commit 7ef2867ff6
1 changed files with 2 additions and 2 deletions

View File

@ -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]