]> git.decadent.org.uk Git - dak.git/commitdiff
make process accepted not die with old .dak files
authorMark Hymers <mhy@debian.org>
Fri, 8 Aug 2008 20:10:22 +0000 (20:10 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 16 Aug 2008 01:15:14 +0000 (01:15 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
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":