[Blends-commit] [SCM] website branch, master, updated. 6e3fb02be3a448c2a6aa15c0946d3ac5971272d2

Andreas Tille tille at debian.org
Thu Jul 18 06:45:20 UTC 2013


The following commit has been merged in the master branch:
commit 99c98e8684e7a0f5d25f80d58ac759a584493879
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jul 18 08:35:13 2013 +0200

    More readable debugging output

diff --git a/webtools/bugs_udd.py b/webtools/bugs_udd.py
index 83c78ea..c1b1955 100755
--- a/webtools/bugs_udd.py
+++ b/webtools/bugs_udd.py
@@ -93,7 +93,7 @@ def main():
     _execute_udd_query(query)
 
     query = """PREPARE query_bugs (text) AS
-      SELECT distinct bu.source, bu.id, bu.title, bu.severity, bu.status, bu.done
+      SELECT distinct bu.source, bu.id, bu.title, bu.severity, bu.status, bu.done AS done_by
         FROM blends_dependencies b
         JOIN packages p ON p.package = b.package
         JOIN bugs bu    ON bu.source = p.source
@@ -188,11 +188,12 @@ def main():
 
     f = open(blendname+'_bugs.json', 'w')
     for task in bugs_data:
-        print >>f, task
+        print >>f, "*** %s ***" % task
         for status in STATES:
             if bugs_data[task].has_key(status):
                 print >>f, status
                 print >>f, json.dumps(bugs_data[task][status])
+        print >>f
     f.close()
     exit(1)
     # Define directories used

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list