From 06dae9d2c240755d7788d33abbc9c0bf456ab9a9 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 30 Oct 2009 22:17:23 +0000 Subject: [PATCH] don't delete files in queue_files Signed-off-by: Mark Hymers --- dak/clean_suites.py | 1 + 1 file changed, 1 insertion(+) 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""") -- 2.39.5