From 0b77fe45647e0342dca44d574225033b331a0ce0 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 8 Aug 2008 20:10:22 +0000 Subject: [PATCH] make process accepted not die with old .dak files Signed-off-by: Mark Hymers --- dak/process_accepted.py | 4 ++++ 1 file changed, 4 insertions(+) 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": -- 2.39.5