diff options
Diffstat (limited to 'scripts/lib/devtool/build-image.py')
-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 | |||
23 | from bb.process import ExecutionError | 23 | from bb.process import ExecutionError |
24 | from devtool import exec_build_env_command | 24 | from devtool import exec_build_env_command |
25 | 25 | ||
26 | LOG = logging.getLogger('devtool') | 26 | logger = logging.getLogger('devtool') |
27 | 27 | ||
28 | def plugin_init(pluginlist): | 28 | def plugin_init(pluginlist): |
29 | """Plugin initialization""" | 29 | """Plugin initialization""" |
@@ -44,7 +44,7 @@ def build_image(args, config, basepath, workspace): | |||
44 | except ExecutionError as err: | 44 | except ExecutionError as err: |
45 | return err.exitcode | 45 | return err.exitcode |
46 | 46 | ||
47 | LOG.info('Successfully built %s', image) | 47 | logger.info('Successfully built %s', image) |
48 | 48 | ||
49 | def register_commands(subparsers, context): | 49 | def register_commands(subparsers, context): |
50 | """Register devtool subcommands from the build-image plugin""" | 50 | """Register devtool subcommands from the build-image plugin""" |