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

Andreas Tille tille at debian.org
Wed Jul 10 14:37:18 UTC 2013


The following commit has been merged in the master branch:
commit cc75a682b50b4433a4f375e361524718ec96ff6c
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jul 10 16:40:10 2013 +0200

    Suppress json output which is unneeded for the moment

diff --git a/webtools/thermometer.py b/webtools/thermometer.py
index 588d395..ac907f3 100755
--- a/webtools/thermometer.py
+++ b/webtools/thermometer.py
@@ -10,7 +10,7 @@ DEFAULTPORT=5432
 from sys import argv, stderr, exit
 import os
 import psycopg2
-import json
+#import json
 import re
 import time
 from datetime import datetime
@@ -263,9 +263,9 @@ def main():
     
     if curs.rowcount > 0:
         blend_data = RowDictionaries(curs)
-        f = open(blendname+'_thermometer.json', 'w')
-        print >>f, json.dumps(blend_data)
-        f.close()
+        #f = open(blendname+'_thermometer.json', 'w')
+        #print >>f, json.dumps(blend_data)
+        #f.close()
     else:
         print >>stderr, "No data received for Blend", blendname
         exit(1)

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list