From: James Troup Date: Thu, 18 May 2006 21:43:49 +0000 (-0500) Subject: Remove debug print of SQL query from clean_suites.py. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4f9d6febec4d4a4519edc50cbd1d196c8376ac54;p=dak.git Remove debug print of SQL query from clean_suites.py. --- 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)))