diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2018-04-03 07:19:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-03 07:19:16 +0000 |
commit | 0236fe345f85faf5e07fae683106021c97490720 (patch) | |
tree | 57c70c9e14249d38a0b20079e6c5f6d1b5dfc78e /core/loader/loader_servant.py | |
parent | 2814e71322f7da9dd6ad9988b2648316cc7bd034 (diff) | |
parent | 184b72f6b706036aeda88d52ecb0e0c27b1573fe (diff) |
Merge "python: Pylint 1.8.2 code conformity"
Diffstat (limited to 'core/loader/loader_servant.py')
-rw-r--r-- | core/loader/loader_servant.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/loader/loader_servant.py b/core/loader/loader_servant.py index 8bad9ab9..6db8e0f2 100644 --- a/core/loader/loader_servant.py +++ b/core/loader/loader_servant.py @@ -120,7 +120,7 @@ class LoaderServant(object): if class_name in results: logging.info( - "Class found: " + class_name + ".") + "Class found: %s.", class_name) return results.get(class_name) return None @@ -180,7 +180,7 @@ class LoaderServant(object): mod = imp.load_module( modname, *imp.find_module(modname, [root])) except ImportError: - logging.error('Could not import file ' + filename) + logging.error('Could not import file %s', filename) raise mods.append((modname, mod)) |