community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1687377 - /comdev/projects.apache.org/scripts/import/parsecommittees.py
Date Wed, 24 Jun 2015 22:01:32 GMT
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



Mime
View raw message