[dak/master] Allow source-only uploads with 'sid' as distribution
We only allowed 'unstable' or 'experimental'.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
---
daklib/checks.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/daklib/checks.py b/daklib/checks.py
index 2eec769..b187f03 100644
--- a/daklib/checks.py
+++ b/daklib/checks.py
@@ -719,6 +719,7 @@ class NoSourceOnlyCheck(Check):
and 'all' not in changes.architectures \
and 'experimental' not in changes.distributions \
and 'unstable' not in changes.distributions \
+ and 'sid' not in changes.distributions \
and changes.source.package_list.has_arch_indep_packages():
raise Reject('Uploads not including architecture-independent packages are not allowed.')
--
2.1.4
Reply to: