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