X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=9b1b48671177773ddab7bb8606fba61fc9804883;hb=f25d894cf1d8db4d64a04d990531700616a45074;hp=36b091f298ba42083407a12e713a972d0c54f403;hpb=0857c6ae3ba0dcd1209e3b79c1fe277a6349aab2;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 36b091f2..9b1b4867 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -531,10 +531,11 @@ def check_files(): files[file]["new"] = 1 else: dsc_file_exists = 0 - for myq in ["Accepted", "Embargoed", "Unembargoed"]: - if os.path.exists(Cnf["Dir::Queue::"+myq] + '/' + dsc_filename): - dsc_file_exists = 1 - break + for myq in ["Accepted", "Embargoed", "Unembargoed", "ProposedUpdates"]: + if Cnf.has_key("Dir::Queue::%s" % (myq)): + if os.path.exists(Cnf["Dir::Queue::"+myq] + '/' + dsc_filename): + dsc_file_exists = 1 + break if not dsc_file_exists: reject("no source found for %s %s (%s)." % (source_package, source_version, file)) # Check the version and for file overwrites