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:
|
else:
|
||||||
ctx = Context()
|
ctx = Context()
|
||||||
for name in Recipe.list_recipes():
|
for name in Recipe.list_recipes():
|
||||||
|
try:
|
||||||
recipe = Recipe.get_recipe(name, ctx)
|
recipe = Recipe.get_recipe(name, ctx)
|
||||||
print("{recipe.name:<12} {recipe.version:<8}".format(
|
print("{recipe.name:<12} {recipe.version:<8}".format(recipe=recipe))
|
||||||
recipe=recipe))
|
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def clean(self):
|
def clean(self):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
|
|
Loading…
Reference in a new issue