Move common utility functions to a common library (#12773)

This commit is contained in:
Sebastian Rittau
2024-10-14 08:00:02 +02:00
committed by GitHub
parent 407eeaa133
commit 1fa4986f71
21 changed files with 31 additions and 31 deletions

View File

@@ -312,7 +312,7 @@ async def get_github_repo_info(session: aiohttp.ClientSession, stub_info: StubIn
Else, return None.
"""
if stub_info.upstream_repository:
# We have various sanity checks for the upstream_repository field in tests/_metadata.py,
# We have various sanity checks for the upstream_repository field in ts_utils.metadata,
# so no need to repeat all of them here
split_url = urllib.parse.urlsplit(stub_info.upstream_repository)
if split_url.netloc == "github.com":