idf.py: Fix error message for unknown target

This commit is contained in:
Sergei Silnov 2019-11-25 15:41:34 +01:00
parent 557234d625
commit dc4a5d06e3

View file

@ -41,8 +41,7 @@ def action_extensions(base_actions, project_path):
except Exception:
raise FatalError(
'command "%s" is not known to idf.py and is not a %s target' %
(target_name, GENERATORS[args.generator].command))
'command "%s" is not known to idf.py and is not a %s target' % (target_name, args.generator))
run_target(target_name, args)