From b6b49375a1f80a982b933bcdeb188d5f8cea32ef Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 13 Feb 2019 10:16:55 -0800 Subject: [PATCH] Add comment about extra issues request We identified a potential improvement to github3.py which, when complete, may be able to eliminate an extra github api call. Change-Id: Ic6a9daf3f0dd87655d08ad6aa42d89cd02c7225f --- zuul/driver/github/githubconnection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zuul/driver/github/githubconnection.py b/zuul/driver/github/githubconnection.py index 2019f264cf..319188ad6a 100644 --- a/zuul/driver/github/githubconnection.py +++ b/zuul/driver/github/githubconnection.py @@ -1134,6 +1134,8 @@ class GithubConnection(BaseConnection): number, owner, proj)) time.sleep(1) # Get the issue obj so we can get the labels (this is silly) + # TODO: this may be able to be simplified after + # https://github.com/sigmavirus24/github3.py/issues/924 issueobj = probj.issue() pr = probj.as_dict() try: