From: Mark Hymers Date: Fri, 30 Oct 2009 22:17:23 +0000 (+0000) Subject: don't delete files in queue_files X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06dae9d2c240755d7788d33abbc9c0bf456ab9a9;p=dak don't delete files in queue_files Signed-off-by: Mark Hymers --- diff --git a/dak/clean_suites.py b/dak/clean_suites.py index 72a1d5a8..0d3b4732 100755 --- a/dak/clean_suites.py +++ b/dak/clean_suites.py @@ -164,6 +164,7 @@ SELECT id, filename FROM files f WHERE NOT EXISTS (SELECT 1 FROM binaries b WHERE b.file = f.id) AND NOT EXISTS (SELECT 1 FROM dsc_files df WHERE df.file = f.id) AND NOT EXISTS (SELECT 1 FROM changes_pool_files cpf WHERE cpf.fileid = f.id) + AND NOT EXISTS (SELECT 1 FROM queue_files qf WHERE qf.id = f.id) AND last_used IS NULL ORDER BY filename""")