Skip to content

Commit 5f70a63

Browse files
committed
Corrected bootstrap choosing
It wasn't honouring 'can_be_chosen_automatically'
1 parent 058c4dd commit 5f70a63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pythonforandroid/bootstrap.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,8 @@ def get_bootstrap_from_recipes(cls, recipes, ctx):
135135
for name in cls.list_bootstraps()]
136136
acceptable_bootstraps = []
137137
for bs in bootstraps:
138-
ok = True
139138
if not bs.can_be_chosen_automatically:
140-
ok = False
139+
continue
141140
possible_dependency_lists = expand_dependencies(bs.recipe_depends)
142141
for possible_dependencies in possible_dependency_lists:
143142
ok = True

0 commit comments

Comments
 (0)