Browse Source

Merge "Clarify project vs repository in getPullBySha"

changes/74/637974/1
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
06dc412f71
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      zuul/driver/github/githubconnection.py

+ 2
- 2
zuul/driver/github/githubconnection.py View File

@ -1200,8 +1200,8 @@ class GithubConnection(BaseConnection):
pulls = []
github = self.getGithubClient(project_name)
owner, project = project_name.split('/')
repo = github.repository(owner, project)
owner, repository = project_name.split('/')
repo = github.repository(owner, repository)
for pr in repo.pull_requests(state='open',
# We sort by updated from oldest to newest
# as that will prefer more recently


Loading…
Cancel
Save