From 4607496267f3cfee4ab274217e571603c9087f45 Mon Sep 17 00:00:00 2001 From: YustinaKvr Date: Tue, 25 Jun 2024 11:36:43 +0200 Subject: [PATCH] hotfix for infinity loop --- failed_zuul.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/failed_zuul.py b/failed_zuul.py index 2a8c99f..aea36fa 100644 --- a/failed_zuul.py +++ b/failed_zuul.py @@ -237,7 +237,7 @@ def get_failed_prs(org, repo, gitea_token, conn_zuul, cur_zuul, table_name): "Failed PRs: an error occurred while inserting into %s table: %s", table_name, e) else: continue - elif org == "docs-swiss" and repo_resp.status_code != 200: + elif org in ["docs-swiss", "docs"] and repo_resp.status_code != 200: break page += 1