]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_accepted.py
make process accepted not die with old .dak files
[dak.git] / dak / process_accepted.py
index 0db17bad471545f55f229aa9cc0a4fb01d1872af..b28d9f9bc00eab3226808616f4613bf4b2eaa2f2 100755 (executable)
@@ -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":