Browse Source

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
changes/06/636706/4
James E. Blair 3 years ago
committed by Tobias Henkel
parent
commit
b6b49375a1
  1. 2
      zuul/driver/github/githubconnection.py

2
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:

Loading…
Cancel
Save