You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hb...@apache.org on 2015/06/25 00:01:32 UTC

svn commit: r1687377 - /comdev/projects.apache.org/scripts/import/parsecommittees.py

Author: hboutemy
Date: Wed Jun 24 22:01:32 2015
New Revision: 1687377

URL: http://svn.apache.org/r1687377
Log:
read committee-info.txt from data/board svn:external

Modified:
    comdev/projects.apache.org/scripts/import/parsecommittees.py

Modified: comdev/projects.apache.org/scripts/import/parsecommittees.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/import/parsecommittees.py?rev=1687377&r1=1687376&r2=1687377&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/parsecommittees.py (original)
+++ comdev/projects.apache.org/scripts/import/parsecommittees.py Wed Jun 24 22:01:32 2015
@@ -78,15 +78,10 @@ for s in itemlist :
     except Exception as err:
         print(err)
 
-try:
-    with open("committee-info.txt", "rb") as f:
-        data = f.read().decode('utf-8')
-        f.close()
-except:
-    print("You will need to download committee-info.txt and place it in this folder first")
-    print("  svn export https://svn.apache.org/repos/private/committers/board/committee-info.txt")
-    print("(requires authentication with committer karma)")
-    sys.exit(1)
+with open("../../data/board/committee-info.txt", "rb") as f:
+    data = f.read().decode('utf-8')
+    f.close()
+
 # extract reporting cycles information
 cycles = { 'Incubator': 0 } # Incubator reports each month
 current = 1