You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2015/11/03 23:41:49 UTC
svn commit: r1712429 - in /comdev/reporter.apache.org/trunk/scripts:
bugzillastats.py pmcdates.py reportingcycles.py
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