Return all packages solving a dep through virtual packages (like b1 does), not just the first one. This eliminates some b1/b2 excuse diffs.

Signed-off-by: Jurij Smakov <jurij@droopy.oc.cox.net>
master
Jurij Smakov 15 years ago
parent e522e541e6
commit f847e1b3c4

@ -923,7 +923,6 @@ class Britney:
# does it and we have to go with it, but at least a warning should be raised.
if op == '' and version == '' or not strict and apt_pkg.CheckDep(package[VERSION], op, version):
packages.append(prov)
break
return (len(packages) > 0, packages)

Loading…
Cancel
Save