upgrade list scritp

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-10-17 11:42:14 +02:00
parent 9c02c8b301
commit 22d69ec185
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
#!/usr/bin/env python
import pygithub3
#!/usr/bin/env python3
import os
from github import Github
GH_TOKEN = os.environ['GH_TOKEN']
gh = None
@ -14,7 +17,7 @@ def gather_clone_urls(organization, no_forks=True):
yield repo.clone_url
if __name__ == '__main__':
gh = pygithub3.Github()
gh = Github(GH_TOKEN)
clone_urls = gather_clone_urls("status-im")
for url in clone_urls: