Merge "Clarify project vs repository in getPullBySha"
This commit is contained in:
commit
06dc412f71
|
@ -1200,8 +1200,8 @@ class GithubConnection(BaseConnection):
|
||||||
|
|
||||||
pulls = []
|
pulls = []
|
||||||
github = self.getGithubClient(project_name)
|
github = self.getGithubClient(project_name)
|
||||||
owner, project = project_name.split('/')
|
owner, repository = project_name.split('/')
|
||||||
repo = github.repository(owner, project)
|
repo = github.repository(owner, repository)
|
||||||
for pr in repo.pull_requests(state='open',
|
for pr in repo.pull_requests(state='open',
|
||||||
# We sort by updated from oldest to newest
|
# We sort by updated from oldest to newest
|
||||||
# as that will prefer more recently
|
# as that will prefer more recently
|
||||||
|
|
Loading…
Reference in New Issue