Skip to contentSkip to conversation

oe-setup-build: Fix typo

PATCH New Ryan Eatmon 1 participant 1 message Sep 5, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oe-setup-build: Fix typo

A variable was mistyped in an error message resulting in this error:

NameError: name 'tempalte_name' is not defined. Did you mean: 'template_name'?

---
 scripts/oe-setup-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/oe-setup-build +1 -1
index c0476992a2..1cb06b3b79 100755
@@ -77,7 +77,7 @@ def find_template(template_name, templates):
         for t in templates:
             if t["templatename"] == template_name:
                 return t
-        print("Configuration {} is not one of {}, please try again.".format(tempalte_name, [t["templatename"] for t in templates]))
+        print("Configuration {} is not one of {}, please try again.".format(template_name, [t["templatename"] for t in templates]))
         return None
 
 def setup_build_env(args):
Signature · 1 line
2.17.1