Skip to content

Commit 8fafabc

Browse files
committed
Remove use of the old contributors.json.
1 parent 134ec39 commit 8fafabc

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

scitools_cla_checker/update_pr.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,26 +187,17 @@ def check_pr(repo, number):
187187
@gen.coroutine
188188
def get_contributors():
189189
"""
190-
Return a list of GitHub logins for those that are on the contributors.json
191-
document.
190+
Return a list of GitHub logins for those that have signed the CLA
192191
193192
"""
194-
contrib_json = ('https://raw.githubusercontent.com/SciTools/'
195-
'scitools.org.uk/master/contributors.json')
196-
http_client = tornado.httpclient.AsyncHTTPClient()
197-
response = yield http_client.fetch(contrib_json)
198-
content = json.loads(response.body.decode())
199-
signatures = sorted([person['profile_name']
200-
for person in content['contributors']])
201-
202193
v4_json = (
203194
'https://script.google.com/macros/s/'
204195
'AKfycbwqZ0JLlOKJEcvYUYFXo77o6nux9tSHvOJISUnk3yHi-Bk0Qanz/exec')
205196
response = yield http_client.fetch(v4_json)
206197
content = json.loads(response.body.decode())
207198
v4_signatures = sorted(content['signatories'])
208199

209-
return sorted(signatures + v4_signatures)
200+
return sorted(v4_signatures)
210201

211202

212203
def configure_default_client():

0 commit comments

Comments
 (0)