From e9fbc7a2d2bf16566770ba49b3e09aa936e61cd3 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Sun, 30 Aug 2015 17:28:38 +0300 Subject: 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. (From OE-Core rev: a1c811df93e831a198464008564ce33ec98a3049) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/lib/devtool/build-image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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""" -- cgit v1.2.3-54-g00ecf