Skip to content

Commit

Permalink
Update bedevere/util.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sven Arends <88426829+picnic-sven@users.noreply.github.com>
  • Loading branch information
Mariatta and picnic-sven authored Aug 11, 2023
1 parent aa054b0 commit 184c387
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bedevere/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,8 @@ def no_labels(event_data):
return False


async def get_pr_for_commit(gh, sha, repo_full_name=None):
async def get_pr_for_commit(gh, sha, repo_full_name="python/cpython"):
"""Find the PR containing the specific commit hash."""
if not repo_full_name:
repo_full_name = "python/cpython"
prs_for_commit = await gh.getitem(
f"/search/issues?q=type:pr+repo:{repo_full_name}+sha:{sha}"
)
Expand Down

0 comments on commit 184c387

Please sign in to comment.