]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/checks.py
Do not require arch:all packages in experimental uploads
[dak.git] / daklib / checks.py
index c5a3f35dc6cdad45e3dca0438f9017acfc081283..66f39ffba244ff24267d9f916f26043a85ded3ab 100644 (file)
@@ -684,6 +684,7 @@ class NoSourceOnlyCheck(Check):
 
         if not allow_no_arch_indep_uploads \
            and 'all' not in changes.architectures \
+           and 'experimental' not in changes.distributions \
            and changes.source.package_list.has_arch_indep_packages():
             raise Reject('Uploads not including architecture-independent packages are not allowed.')