X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=d77f5f357796c000998bb47a63601586c331bbe3;hb=cb182fca01ecf29916eb95201db7d62ee8631be7;hp=2149dff30a39dfd6febb55c9a1763b3ec6560d28;hpb=141673ae65e8160c78464c1eac1ecb615aedfc54;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 2149dff3..d77f5f35 100644 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -134,7 +134,7 @@ class Upload: d_changes[i] = changes[i] ## dsc for i in [ "source", "version", "maintainer", "fingerprint", - "uploaders", "bts changelog" ]: + "uploaders", "bts changelog", "dm-upload-allowed" ]: if dsc.has_key(i): d_dsc[i] = dsc[i] ## dsc_files @@ -932,10 +932,12 @@ SELECT s.version, su.suite_name FROM source s, src_associations sa, suite su in_unchecked = os.path.join(self.Cnf["Dir::Queue::Unchecked"],dsc_file) # See process_it() in 'dak process-unchecked' for explanation of this - if os.path.exists(in_unchecked): + # in_unchecked check dropped by ajt 2007-08-28, how did that + # ever make sense? + if os.path.exists(in_unchecked) and False: return (self.reject_message, in_unchecked) else: - for dir in [ "Accepted", "New", "Byhand" ]: + for dir in [ "Accepted", "New", "Byhand", "ProposedUpdates", "OldProposedUpdates" ]: in_otherdir = os.path.join(self.Cnf["Dir::Queue::%s" % (dir)],dsc_file) if os.path.exists(in_otherdir): in_otherdir_fh = utils.open_file(in_otherdir)