mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 17:59:39 +01:00
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 <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7eb7dc861f
commit
e9fbc7a2d2
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user