Exemple #1
0
 def merge(*flavors):
     if isinstance(flavors[-1], int):
         mergeType = flavors[-1]
         flavors = flavors[:-1]
     else:
         mergeType = DEP_MERGE_TYPE_NORMAL
     return str(mergeFlavorList([parseFlavor(x) for x in flavors],
                                mergeType))
Exemple #2
0
 def override2(flavor1, flavor2):
     return str(mergeFlavorList([parseFlavor(flavor1), parseFlavor(flavor2)],
                                mergeType=DEP_MERGE_TYPE_DROP_CONFLICTS))
Exemple #3
0
 def override2(flavor1, flavor2):
     return str(mergeFlavorList([parseFlavor(flavor1), parseFlavor(flavor2)],
                                mergeType=DEP_MERGE_TYPE_NORMAL))