Răsfoiți Sursa

idf.py: Fix error message for unknown target

Sergei Silnov 6 ani în urmă
părinte
comite
dc4a5d06e3
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  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:
         except Exception:
             raise FatalError(
             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)
         run_target(target_name, args)