We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ace86 commit 5869eb2Copy full SHA for 5869eb2
pythonforandroid/toolchain.py
@@ -553,6 +553,11 @@ def recipes(self, args):
553
recipe = Recipe.get_recipe(name, ctx)
554
except IOError:
555
warning('Recipe "{}" could not be loaded'.format(name))
556
+ except SyntaxError:
557
+ import traceback
558
+ traceback.print_exc()
559
+ warning(('Recipe "{}" could not be loaded due to a '
560
+ 'syntax error').format(name))
561
version = str(recipe.version)
562
print('{Fore.BLUE}{Style.BRIGHT}{recipe.name:<12} '
563
'{Style.RESET_ALL}{Fore.LIGHTBLUE_EX}'
0 commit comments