]> git.decadent.org.uk Git - dak.git/commitdiff
don't require all binaries to be included
authorAnsgar Burchardt <ansgar@debian.org>
Fri, 6 Jul 2012 21:14:48 +0000 (15:14 -0600)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 7 Jul 2012 13:42:54 +0000 (07:42 -0600)
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 <ansgar@debian.org>
daklib/checks.py

index 209a0945c14ef950953bab4ca9f4337d8593a08d..9131bbadbe220e574b966dd099200329f1dd77c3 100644 (file)
@@ -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