X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=a539e54788c3de15b3effdf65469191c7b5a73ef;hb=3f97a5c2a9e284638c2035281b658c8975d662d6;hp=174c02c8a48f9c4809dd7bbeaf1673547604d875;hpb=f9f04a9f589926a0c4c91d63321dc1358b1dff5a;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 174c02c8..a539e547 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1263,7 +1263,7 @@ class Upload(object): 'OldProposedUpdates', 'Embargoed', 'Unembargoed') for queue in queues: - if 'Dir::Queue::%s' % queue not in cnf: + if not cnf.get('Dir::Queue::%s' % queue): continue queuefile_path = os.path.join( @@ -1284,6 +1284,10 @@ class Upload(object): def check_lintian(self): cnf = Config() + # Don't reject binary uploads + if not self.pkg.changes['architecture'].has_key('source'): + return + # Only check some distributions valid_dist = False for dist in ('unstable', 'experimental'):