MCPcopy Index your code
hub / github.com/kivy/python-for-android / RecipeOrder

Class RecipeOrder

pythonforandroid/graph.py:25–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25class RecipeOrder(dict):
26 def __init__(self, ctx):
27 self.ctx = ctx
28
29 def conflicts(self):
30 for name in self.keys():
31 try:
32 recipe = Recipe.get_recipe(name, self.ctx)
33 conflicts = [dep.lower() for dep in recipe.conflicts]
34 except ValueError:
35 conflicts = []
36
37 if any([c in self for c in conflicts]):
38 return True
39 return False
40
41
42def get_dependency_tuple_list_for_recipe(recipe, blacklist=None):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected