From e075a607030d0b05137ae4904ab304b8ead2711d Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 24 Feb 2009 23:30:17 +0100 Subject: [PATCH] clean-suites its delete_date, not delete_data Signed-off-by: Joerg Jaspert --- dak/clean_suites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/clean_suites.py b/dak/clean_suites.py index 6b7171fa..cc2b7368 100755 --- a/dak/clean_suites.py +++ b/dak/clean_suites.py @@ -206,7 +206,7 @@ def clean(): sys.stdout.write("done. (%d seconds)]\n" % (int(time.time()-before))) # Delete files from the pool - query = "SELECT l.path, f.filename FROM location l, files f WHERE f.last_used <= '%s' AND l.id = f.location" % (delete_data) + query = "SELECT l.path, f.filename FROM location l, files f WHERE f.last_used <= '%s' AND l.id = f.location" % (delete_date) if max_delete is not None: query += " LIMIT %d" % maximum sys.stdout.write("Limiting removals to %d" % Cnf["Clean-Suites::Options::Maximum"]) -- 2.39.5