britney.py: assert provides table is up to date

Signed-off-by: Niels Thykier <niels@thykier.net>
debian
Niels Thykier 9 years ago
parent 3ff01b5ec9
commit 7e475cd9f9

@ -997,8 +997,7 @@ class Britney(object):
# look for the package in the virtual packages list and loop on them # look for the package in the virtual packages list and loop on them
for prov, prov_version in provides_s_a.get(name, empty_set): for prov, prov_version in provides_s_a.get(name, empty_set):
if prov not in binaries_s_a: assert prov in binaries_s_a
continue
# A provides only satisfies: # A provides only satisfies:
# - an unversioned dependency (per Policy Manual §7.5) # - an unversioned dependency (per Policy Manual §7.5)
# - a dependency without an architecture qualifier # - a dependency without an architecture qualifier

Loading…
Cancel
Save