From dc4a5d06e386fbe5e2d84faf257d191fa2be6e41 Mon Sep 17 00:00:00 2001 From: Sergei Silnov Date: Mon, 25 Nov 2019 15:41:34 +0100 Subject: [PATCH] idf.py: Fix error message for unknown target --- tools/idf_py_actions/core_ext.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/idf_py_actions/core_ext.py b/tools/idf_py_actions/core_ext.py index 396eb4ce5c..fc646d5919 100644 --- a/tools/idf_py_actions/core_ext.py +++ b/tools/idf_py_actions/core_ext.py @@ -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)