X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_new.py;h=77f6e5afd853649e96137a976b9cb2c2ce0b1cb6;hb=52b14d883272923a4296ac02921ccf350815db83;hp=a10a1b098a804d590d58461fa1302623fc0d37de;hpb=afcbb2072c3ef26a12aac62aeae6bd1b898aecd9;p=dak.git diff --git a/dak/process_new.py b/dak/process_new.py index a10a1b09..77f6e5af 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -829,24 +829,15 @@ def do_accept(upload): if not Options["No-Action"]: (summary, short_summary) = upload.build_summaries() - if cnf.FindB("Dinstall::SecurityQueueHandling"): - upload.dump_vars(cnf["Dir::Queue::Embargoed"]) - upload.move_to_dir(cnf["Dir::Queue::Embargoed"]) - upload.queue_build("embargoed", cnf["Dir::Queue::Embargoed"]) - # Check for override disparities - upload.Subst["__SUMMARY__"] = summary - else: - # Just a normal upload, accept it... - _accept(upload) - -def check_status(files): - new = byhand = 0 - for f in files.keys(): - if files[f]["type"] == "byhand": - byhand = 1 - elif files[f].has_key("new"): - new = 1 - return (new, byhand) + if cnf.FindB("Dinstall::SecurityQueueHandling"): + upload.dump_vars(cnf["Dir::Queue::Embargoed"]) + upload.move_to_dir(cnf["Dir::Queue::Embargoed"]) + upload.queue_build("embargoed", cnf["Dir::Queue::Embargoed"]) + # Check for override disparities + upload.Subst["__SUMMARY__"] = summary + else: + # Just a normal upload, accept it... + _accept(upload) def do_pkg(changes_file, session): u = Upload()