From: Joerg Jaspert Date: Tue, 24 Feb 2009 22:30:17 +0000 (+0100) Subject: clean-suites X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e075a607030d0b05137ae4904ab304b8ead2711d;p=dak.git clean-suites its delete_date, not delete_data Signed-off-by: Joerg Jaspert --- 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"])