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
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)))