fix error when call recipe list "toolchain.py recipes"
This commit is contained in:
parent
822c712956
commit
b96498a9b4
1 changed files with 6 additions and 3 deletions
|
@ -1167,9 +1167,12 @@ Xcode:
|
|||
else:
|
||||
ctx = Context()
|
||||
for name in Recipe.list_recipes():
|
||||
recipe = Recipe.get_recipe(name, ctx)
|
||||
print("{recipe.name:<12} {recipe.version:<8}".format(
|
||||
recipe=recipe))
|
||||
try:
|
||||
recipe = Recipe.get_recipe(name, ctx)
|
||||
print("{recipe.name:<12} {recipe.version:<8}".format(recipe=recipe))
|
||||
|
||||
except:
|
||||
pass
|
||||
|
||||
def clean(self):
|
||||
parser = argparse.ArgumentParser(
|
||||
|
|
Loading…
Reference in a new issue