From: Mark Hymers Date: Fri, 8 Aug 2008 20:10:22 +0000 (+0000) Subject: make process accepted not die with old .dak files X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0b77fe45647e0342dca44d574225033b331a0ce0;p=dak.git make process accepted not die with old .dak files Signed-off-by: Mark Hymers --- diff --git a/dak/process_accepted.py b/dak/process_accepted.py index 0db17bad..b28d9f9b 100755 --- a/dak/process_accepted.py +++ b/dak/process_accepted.py @@ -274,6 +274,10 @@ def install (): # Begin a transaction; if we bomb out anywhere between here and the COMMIT WORK below, the DB will not be changed. projectB.query("BEGIN WORK") + # Check the hashes are all present: HACK: Can go away once all dak files + # are known to be newer than the shasum changes + utils.ensure_hashes(Upload) + # Add the .dsc file to the DB for file in files.keys(): if files[file]["type"] == "dsc":