From 0cf38f68b3ecbbe45e885ed3fc1e0354f5a7dbb5 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Fri, 6 Jul 2012 15:14:48 -0600 Subject: [PATCH] don't require all binaries to be included If a package has architecture-specific packages or a buildd uploads only architecture-dependant packages and there are also arch-indep packages, the upload does not include all binaries from the Binary field. Signed-off-by: Ansgar Burchardt --- daklib/checks.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/daklib/checks.py b/daklib/checks.py index 209a0945..9131bbad 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -175,9 +175,6 @@ class BinaryCheck(Check): for bn in binary_names: if bn not in upload.changes.binary_names: raise Reject('Package {0} is not mentioned in Binary field in changes'.format(bn)) - for bn in upload.changes.binary_names: - if bn not in binary_names: - raise Reject('Binary field in changes has {0}, but was not found in upload'.format(bn)) return True -- 2.39.5