community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1707524 - /comdev/reporter.apache.org/trunk/data/reportingcycles.py
Date Thu, 08 Oct 2015 13:13:50 GMT
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()
 



Mime
View raw message