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>
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"""
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"""