diff --git a/GithubInfo.py b/GithubInfo.py index f38a188..e89baa3 100644 --- a/GithubInfo.py +++ b/GithubInfo.py @@ -8,7 +8,7 @@ # Then play with your Github objects def get_pull_requests(): pull_requests = [] - for repo in g.get_user().get_repos(): # if repo.name == "DevTraining": + for repo in g.get_user().get_repos(): # add this condition for getting pull requests of only one repositery (if repo.name == "DevTraining":) pulls = repo.get_pulls(state='open', base='master') for i, pr in enumerate(pulls, start=1): htmll = html.Li([