west: runners: Fix typo'd log.wrn() call

Should be wrn() instead of warn(). Reported by pylint.

Also remove a {} from the message. It's not being formatted.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-09-04 15:43:44 +02:00 committed by Anas Nashif
commit bf128d09b3

View file

@ -371,8 +371,8 @@ def _dump_context(command, args, runner_args, cached_runner_var):
colorize=True) colorize=True)
if cache is None: if cache is None:
log.warn('Missing or invalid CMake cache {}; there is no context.', log.wrn('Missing or invalid CMake cache; there is no context.',
'Use --build-dir to specify the build directory.') 'Use --build-dir to specify the build directory.')
return return
log.inf('Build directory:', colorize=True) log.inf('Build directory:', colorize=True)