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

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

No files matched your search

+1 -1
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":