community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1712429 - in /comdev/reporter.apache.org/trunk/scripts: bugzillastats.py pmcdates.py reportingcycles.py
Date Tue, 03 Nov 2015 22:41:49 GMT
Author: sebb
Date: Tue Nov  3 22:41:49 2015
New Revision: 1712429

URL: http://svn.apache.org/viewvc?rev=1712429&view=rev
Log:
Ensure errors are logged

Modified:
    comdev/reporter.apache.org/trunk/scripts/bugzillastats.py
    comdev/reporter.apache.org/trunk/scripts/pmcdates.py
    comdev/reporter.apache.org/trunk/scripts/reportingcycles.py

Modified: comdev/reporter.apache.org/trunk/scripts/bugzillastats.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/bugzillastats.py?rev=1712429&r1=1712428&r2=1712429&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/bugzillastats.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/bugzillastats.py Tue Nov  3 22:41:49 2015
@@ -12,6 +12,7 @@ if sys.hexversion < 0x030000F0:
    }
    
 """
+import errtee
 import re
 import urllib.request
 import json

Modified: comdev/reporter.apache.org/trunk/scripts/pmcdates.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/pmcdates.py?rev=1712429&r1=1712428&r2=1712429&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pmcdates.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pmcdates.py Tue Nov  3 22:41:49 2015
@@ -1,3 +1,4 @@
+import errtee
 import sys
 sys.path.append("../../projects.apache.org/scripts") # module committee_info is in p.a.o
 import committee_info

Modified: comdev/reporter.apache.org/trunk/scripts/reportingcycles.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/reportingcycles.py?rev=1712429&r1=1712428&r2=1712429&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/reportingcycles.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/reportingcycles.py Tue Nov  3 22:41:49 2015
@@ -1,3 +1,4 @@
+import errtee
 import sys
 sys.path.append("../../projects.apache.org/scripts") # module committee_info is in p.a.o
 import committee_info
@@ -16,6 +17,5 @@ cycles = committee_info.cycles()
 print("Writing ../site/reportingcycles.json")
 with open("../site/reportingcycles.json", "w", encoding='utf-8') as f:
     json.dump(cycles, f, sort_keys = True, indent=1, ensure_ascii=False)
-    f.close()
 
 print("All done!")
\ No newline at end of file



Mime
View raw message