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>
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