Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 29849 | Differences between
and this patch

Collapse All | Expand All

(-)portage.py.org (+16 lines)
Lines 2518-2523 Link Here
2518
			return None
2518
			return None
2519
		else:
2519
		else:
2520
			#try to satisfy first dep
2520
			#try to satisfy first dep
2521
			x=1
2522
			while x<len(reduced):
2523
				if (type(reduced[x])==types.ListType):
2524
					myresult=dep_zapdeps(unreduced[x], reduced[x])
2525
					if myresult:
2526
						chk=1
2527
						for y in flatten(myresult):
2528
							if (not vardbapi(root).match(y)):
2529
								chk=0
2530
						if chk==1:
2531
							return myresult
2532
				else:
2533
					if (vardbapi(root).match(unreduced[x])):
2534
						return unreduced[x]
2535
				x+=1
2536
			
2521
			return unreduced[1]
2537
			return unreduced[1]
2522
	else:
2538
	else:
2523
		if dep_eval(reduced):
2539
		if dep_eval(reduced):

Return to bug 29849