diff --git a/scripts/example_west_command.py b/scripts/example_west_command.py index 7f68d7f4e..b64cc7182 100644 --- a/scripts/example_west_command.py +++ b/scripts/example_west_command.py @@ -7,7 +7,6 @@ Example of a west extension in the example-application repository.''' from west.commands import WestCommand # your extension must subclass this -from west import log # use this for user output class ExampleWestCommand(WestCommand): @@ -45,5 +44,5 @@ def do_run(self, args, unknown_args): # $ west my-command-name -o FOO BAR # --optional is FOO # required is BAR - log.inf('--optional is', args.optional) - log.inf('required is', args.required) + self.inf('--optional is', args.optional) + self.inf('required is', args.required)