Просмотр исходного кода

idf.py: Fix error message for unknown target

Sergei Silnov 6 лет назад
Родитель
Сommit
dc4a5d06e3
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      tools/idf_py_actions/core_ext.py

+ 1 - 2
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)