Replace %r with %s on printing string variable
Change-Id: Idd8c15255f024bba7079d3a9a29545dec0c91b58
This commit is contained in:
parent
4742d4df70
commit
7ef2867ff6
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user