From: Ansgar Burchardt Date: Fri, 6 Jul 2012 21:14:48 +0000 (-0600) Subject: don't require all binaries to be included X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0cf38f68b3ecbbe45e885ed3fc1e0354f5a7dbb5;p=dak.git 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 --- 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