From 7ef2867ff61d6e4d468b80a9284fdb0bd5bdb6c9 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Mon, 13 Nov 2017 15:23:16 +0000 Subject: [PATCH] Replace %r with %s on printing string variable Change-Id: Idd8c15255f024bba7079d3a9a29545dec0c91b58 --- openstackclient/common/clientmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py index 7b2c8a5cc3..897810521d 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]