From 7e475cd9f935c502668183e1a78e52ff29d07362 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Thu, 24 Mar 2016 07:45:04 +0000 Subject: [PATCH] britney.py: assert provides table is up to date Signed-off-by: Niels Thykier --- britney.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/britney.py b/britney.py index 6623c7c..71bbb89 100755 --- a/britney.py +++ b/britney.py @@ -997,8 +997,7 @@ class Britney(object): # 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): - if prov not in binaries_s_a: - continue + assert prov in binaries_s_a # A provides only satisfies: # - an unversioned dependency (per Policy Manual ยง7.5) # - a dependency without an architecture qualifier