]> git.decadent.org.uk Git - dak.git/commitdiff
Remove debug print of SQL query from clean_suites.py.
authorJames Troup <james@nocrew.org>
Thu, 18 May 2006 21:43:49 +0000 (16:43 -0500)
committerJames Troup <james@nocrew.org>
Thu, 18 May 2006 21:43:49 +0000 (16:43 -0500)
ChangeLog
dak/clean_suites.py

index 0876f077c298d954cd10ebf83d9fd2201c40a8e8..392469dc5de468c7bf972e4b3b98aa36eea07e05 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-05-18  James Troup  <james@nocrew.org>
 
+       * 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
index c3c42cb7b3b9eb8755adc578aba63834a0c431f9..c9a81539ec0908145ae7ed8781a6c04dd1418cb2 100755 (executable)
@@ -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)))