[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] make process accepted not die with old .dak files



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/process_accepted.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dak/process_accepted.py b/dak/process_accepted.py
index 0db17ba..b28d9f9 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":
-- 
1.5.6.3



Reply to: