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

Collapse All | Expand All

(-)/root/portage.py (-3 / +5 lines)
Lines 3421-3438 Link Here
3421
	for (dep, satisfied) in zip(deps, satisfieds):
3421
	for (dep, satisfied) in zip(deps, satisfieds):
3422
		if isinstance(dep, list):
3422
		if isinstance(dep, list):
3423
			atoms = dep_zapdeps(dep, satisfied, myroot,
3423
			atoms = dep_zapdeps(dep, satisfied, myroot,
3424
				use_binaries=use_binaries, trees=trees)
3424
				use_binaries=use_binaries, trees=trees,
3425
				return_all_deps=return_all_deps)
3425
		else:
3426
		else:
3426
			atoms = [dep]
3427
			atoms = [dep]
3428
		atom_keys = unique_array([dep_getkey(atom) for atom in atoms])
3427
3429
3428
		all_installed = True
3430
		all_installed = True
3429
		for atom in atoms:
3431
		for atom in atom_keys:
3430
			if not vardb.match(atom):
3432
			if not vardb.match(atom):
3431
				all_installed = False
3433
				all_installed = False
3432
				break
3434
				break
3433
3435
3434
		all_available = True
3436
		all_available = True
3435
		for atom in atoms:
3437
		for atom in atom_keys:
3436
			if not mydbapi.match(atom):
3438
			if not mydbapi.match(atom):
3437
				all_available = False
3439
				all_available = False
3438
				break
3440
				break

Return to bug 147766