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>
This commit is contained in:
Jurij Smakov 2009-08-22 19:54:08 +01:00
parent e522e541e6
commit f847e1b3c4

View File

@ -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)