diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-08-30 17:28:38 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-31 11:36:50 +0100 |
commit | a1c811df93e831a198464008564ce33ec98a3049 (patch) | |
tree | 3eb3ee0abcc71e64f53201d3b425080a31a89245 | |
parent | 3823b7abf8c1e82e0448d7283de95422fd262135 (diff) | |
download | openembedded-core-a1c811df93e831a198464008564ce33ec98a3049.tar.gz openembedded-core-a1c811df93e831a198464008564ce33ec98a3049.tar.bz2 openembedded-core-a1c811df93e831a198464008564ce33ec98a3049.zip |
devtool: build-image: rename LOG -> logger
Used logger variable name instead of LOG as it is used the rest
of the devtool code.
Pylint complains about 'logger' being invalid constant name,
but it's better to be consistent in naming.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
-rw-r--r-- | scripts/lib/devtool/build-image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py index ebd9c59bfc..d875715fcd 100644 --- a/scripts/lib/devtool/build-image.py +++ b/scripts/lib/devtool/build-image.py @@ -23,7 +23,7 @@ import logging from bb.process import ExecutionError from devtool import exec_build_env_command -LOG = logging.getLogger('devtool') +logger = logging.getLogger('devtool') def plugin_init(pluginlist): """Plugin initialization""" @@ -44,7 +44,7 @@ def build_image(args, config, basepath, workspace): except ExecutionError as err: return err.exitcode - LOG.info('Successfully built %s', image) + logger.info('Successfully built %s', image) def register_commands(subparsers, context): """Register devtool subcommands from the build-image plugin""" |