Skip to content
Snippets Groups Projects
Commit cadb28eb authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

apertis-pkg-merge-upstream-to-downstreams: Don't print useless information...

apertis-pkg-merge-upstream-to-downstreams: Don't print useless information while canceling pipelines

Printing these values only creates noise in the log.

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 4b2577e2
No related branches found
No related tags found
4 merge requests!108Draft: v2026dev2: import-debian-package: stop using a PosixPath object as context manager,!106Draft: import-debian-package: stop using a PosixPath object as context manager,!104Fastforward v2026dev1 -> v2026dev2: Update for compatibility with Trixie,!94Update for compatibility with Trixie
......@@ -117,7 +117,6 @@ def cancel_branch_context_pipeline(project_id, branch, token, project_url):
try:
res = urllib.request.urlopen(get_id_req)
json_res = json.load(res)
print(json_res)
latest_job_id = json_res["id"]
except urllib.error.HTTPError as e:
print("ERROR:", e.read().decode())
......@@ -136,7 +135,6 @@ def cancel_branch_context_pipeline(project_id, branch, token, project_url):
print(f"Canceling useless pipeline on {branch}")
try:
res = urllib.request.urlopen(cancel_req).read().decode("utf-8")
print(res)
except urllib.error.HTTPError as e:
print("ERROR:", e.read().decode())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment