X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=c5cd4a68b8595992bfeeafd2ebdd2fc30bdf12cb;hb=e39ac4bb9c19e58585b64fba058fb6218a24d9e3;hp=c9ebb4825d1bbdb7af44405da968e3ffe0068226;hpb=f0ea5b8606e09ab0a35ac0fc8967cc7e68085fef;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index c9ebb482..c5cd4a68 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1108,7 +1108,7 @@ class Upload(object): if not has_source: self.rejects.append("no source found and Architecture line in changes mention source.") - if not has_binaries and cnf.FindB("Dinstall::Reject::NoSourceOnly"): + if (not has_binaries) and (not cnf.FindB("Dinstall::AllowSourceOnlyUploads")): self.rejects.append("source only uploads are not supported.") ###########################################################################