]> git.decadent.org.uk Git - dak.git/commitdiff
Add unstable to exception list for source-only uploads
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 15 Aug 2015 05:39:45 +0000 (07:39 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 15 Aug 2015 05:40:43 +0000 (07:40 +0200)
daklib/checks.py

index 70e1f5e398dd3b17e4e5d1f9127f15e4dfb84abb..60149b5c94c5d9f049ee45520d83cd5c9588552e 100644 (file)
@@ -690,6 +690,7 @@ class NoSourceOnlyCheck(Check):
         if not allow_no_arch_indep_uploads \
            and 'all' not in changes.architectures \
            and 'experimental' not in changes.distributions \
+           and 'unstable' not in changes.distributions \
            and changes.source.package_list.has_arch_indep_packages():
             raise Reject('Uploads not including architecture-independent packages are not allowed.')