summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zuul/driver/github/githubconnection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/zuul/driver/github/githubconnection.py b/zuul/driver/github/githubconnection.py
index 0d6c5ec..83aec24 100644
--- a/zuul/driver/github/githubconnection.py
+++ b/zuul/driver/github/githubconnection.py
@@ -1200,8 +1200,8 @@ class GithubConnection(BaseConnection):
1200 1200
1201 pulls = [] 1201 pulls = []
1202 github = self.getGithubClient(project_name) 1202 github = self.getGithubClient(project_name)
1203 owner, project = project_name.split('/') 1203 owner, repository = project_name.split('/')
1204 repo = github.repository(owner, project) 1204 repo = github.repository(owner, repository)
1205 for pr in repo.pull_requests(state='open', 1205 for pr in repo.pull_requests(state='open',
1206 # We sort by updated from oldest to newest 1206 # We sort by updated from oldest to newest
1207 # as that will prefer more recently 1207 # as that will prefer more recently