X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=d6a25b0e8361544a6c57e7f203f276e184ef7816;hb=d01b87da9158bfdc35fdb0628556fd3c9bb49eae;hp=a18b1b19ce373f8a6bf41bece2d108a53c44a4c1;hpb=ef8dcbe8251167f9c922959a67f626615b421c81;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index a18b1b19..d6a25b0e 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -387,7 +387,8 @@ def check_files(): for file in file_keys: # Ensure the file does not already exist in one of the accepted directories - for dir in [ "Accepted", "Byhand", "New", "ProposedUpdates", "OldProposedUpdates" ]: + for dir in [ "Accepted", "Byhand", "New", "ProposedUpdates", "OldProposedUpdates", "Embargoed", "Unembargoed" ]: + if not Cnf.has_key("Dir::Queue::%s" % (dir)): continue if os.path.exists(Cnf["Dir::Queue::%s" % (dir) ]+'/'+file): reject("%s file already exists in the %s directory." % (file, dir)) if not daklib.utils.re_taint_free.match(file):