summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build-image.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/build-image.py')
-rw-r--r--scripts/lib/devtool/build-image.py4
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
23from bb.process import ExecutionError 23from bb.process import ExecutionError
24from devtool import exec_build_env_command 24from devtool import exec_build_env_command
25 25
26LOG = logging.getLogger('devtool') 26logger = logging.getLogger('devtool')
27 27
28def plugin_init(pluginlist): 28def 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
49def register_commands(subparsers, context): 49def register_commands(subparsers, context):
50 """Register devtool subcommands from the build-image plugin""" 50 """Register devtool subcommands from the build-image plugin"""