From 4f9d6febec4d4a4519edc50cbd1d196c8376ac54 Mon Sep 17 00:00:00 2001 From: James Troup Date: Thu, 18 May 2006 16:43:49 -0500 Subject: [PATCH] Remove debug print of SQL query from clean_suites.py. --- ChangeLog | 3 +++ dak/clean_suites.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0876f077..392469dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-05-18 James Troup + * dak/clean_suites.py (clean_binaries): remove debug print of SQL + query. + * dak/init_dirs.py: pylint cleanups - long lines, unused globals, docstrings, untabify, don't shadow builtins, lowercase non-global variable names, spaces after commas. Also bail if given any diff --git a/dak/clean_suites.py b/dak/clean_suites.py index c3c42cb7..c9a81539 100755 --- a/dak/clean_suites.py +++ b/dak/clean_suites.py @@ -177,7 +177,6 @@ def clean_binaries(): if not Options["No-Action"]: before = time.time() sys.stdout.write("[Deleting from binaries table... ") - sys.stderr.write("DELETE FROM binaries WHERE EXISTS (SELECT 1 FROM files WHERE binaries.file = files.id AND files.last_used <= '%s')\n" % (delete_date)) projectB.query("DELETE FROM binaries WHERE EXISTS (SELECT 1 FROM files WHERE binaries.file = files.id AND files.last_used <= '%s')" % (delete_date)) sys.stdout.write("done. (%d seconds)]\n" % (int(time.time()-before))) -- 2.39.5