From 09e6457141375c9a3a759f345a98c20a0f1d56f6 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 27 Oct 2009 20:27:13 +0000 Subject: [PATCH] let's not reset last_used every time... 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 dc4f0197..7ea90b82 100755 --- a/dak/clean_suites.py +++ b/dak/clean_suites.py @@ -163,6 +163,7 @@ def check_files(now_date, delete_date, max_delete, session): 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 last_used IS NULL ORDER BY filename""") ql = q.fetchall() -- 2.39.5