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/10/08 15:13:50 UTC

svn commit: r1707524 - /comdev/reporter.apache.org/trunk/data/reportingcycles.py

Author: sebb
Date: Thu Oct  8 13:13:50 2015
New Revision: 1707524

URL: http://svn.apache.org/viewvc?rev=1707524&view=rev
Log:
Fix up output location

Modified:
    comdev/reporter.apache.org/trunk/data/reportingcycles.py

Modified: comdev/reporter.apache.org/trunk/data/reportingcycles.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/data/reportingcycles.py?rev=1707524&r1=1707523&r2=1707524&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/data/reportingcycles.py (original)
+++ comdev/reporter.apache.org/trunk/data/reportingcycles.py Thu Oct  8 13:13:50 2015
@@ -7,14 +7,14 @@ import json
 Reads committee-info.json via committee_info module
 
 Creates:
-reportingcycles.json
+../site/reportingcycles.json
 
 """
 
 cycles = committee_info.cycles()
 
-print("Writing reportingcycles.json")
-with open("reportingcycles.json", "w", encoding='utf-8') as f:
+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()