Update graph.py
This commit is contained in:
parent
174d8a6a4a
commit
3ea8991540
1 changed files with 1 additions and 2 deletions
|
@ -293,8 +293,7 @@ def get_recipe_order_and_bootstrap(ctx, names, bs=None, blacklist=None):
|
|||
orders.append(list(order))
|
||||
|
||||
# prefer python3 and SDL2 if available
|
||||
orders = sorted(orders,
|
||||
key=lambda order: -('python3' in order) - ('sdl2' in order))
|
||||
orders.sort(key=lambda order: -('python3' in order) - ('sdl2' in order))
|
||||
|
||||
if not orders:
|
||||
raise BuildInterruptingException(
|
||||
|
|
Loading…
Add table
Reference in a new issue