[dak/bpo] clean-suites
its delete_date, not delete_data
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/clean_suites.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/clean_suites.py b/dak/clean_suites.py
index 6b7171f..cc2b736 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"])
--
1.5.6.5
Reply to: