Skip to content

Commit

Permalink
Fix test-with-buildbots label handling
Browse files Browse the repository at this point in the history
Fixes python#578, a bug introduced by python#576 for python#327.

I was mislead by the number extraction in another part of the file.
  • Loading branch information
zware committed Feb 26, 2025
1 parent 62b177d commit e2c3768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/custom/pr_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _remove_label_and_comment(self, payload, label):
url = payload["pull_request"]["comments_url"]
username = payload["sender"]["login"]
commit = payload["pull_request"]["head"]["sha"]
pr_number = payload["issue"]["number"]
pr_number = payload["pull_request"]["number"]
yield http.post(
url.replace(self.github_api_endpoint, ""),
json={
Expand Down

0 comments on commit e2c3768

Please sign in to comment.