diff --git a/scripts/west_commands/zephyr_ext_common.py b/scripts/west_commands/zephyr_ext_common.py index d2d31a620d1..81ca73af292 100644 --- a/scripts/west_commands/zephyr_ext_common.py +++ b/scripts/west_commands/zephyr_ext_common.py @@ -12,7 +12,6 @@ import os import shlex from pathlib import Path -from west import log from west.commands import WestCommand # This relies on this file being zephyr/scripts/foo/bar.py. @@ -44,8 +43,8 @@ class Forceable(WestCommand): self.args.force being True can allow execution to proceed. ''' if not (cond or self.args.force): - log.err(msg) - log.die('refusing to proceed without --force due to above error') + self.err(msg) + self.die('refusing to proceed without --force due to above error') def config_get_words(self, section_key, fallback=None): unparsed = self.config.get(section_key)