mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
build_manifest.py: Silence irrelevant logs
The group API querries where removed in 2320cfaf
but the
log was forgotten.
The headers print was meant to be just for debugging.
This commit is contained in:
parent
8fbce56d69
commit
b335b4416b
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ def request_raw(path: str, headers: Dict[str, str], project_url: str) -> List[Di
|
|||
base_url: str = urlparse(project_url).hostname
|
||||
url: str = f"https://{base_url}/api/v4/{path}"
|
||||
print(f"GET {url}")
|
||||
print(f"Headers: {headers}")
|
||||
# print(f"Headers: {headers}")
|
||||
resp = requests.get(url, headers=headers)
|
||||
|
||||
print(f"Request returned: {resp.status_code}")
|
||||
|
@ -94,7 +94,7 @@ def request(path: str) -> List[Dict[str, str]]:
|
|||
try:
|
||||
headers: Dict[str, str] = {'Private-Token': os.environ["READ_PROJECTS_TOKEN"] }
|
||||
except KeyError:
|
||||
print("Custom token was not set, group api querries will fail")
|
||||
# print("Custom token was not set, group api querries will fail")
|
||||
# JOB_TOKEN is the default placeholder of CI_JOB_TOKEN
|
||||
headers: Dict[str, str] = {'JOB_TOKEN': "xxxxxxxxxxxxxxxxxxxx" }
|
||||
|
||||
|
|
Loading…
Reference in a new issue