From 902b6fb44fa4fbcf2f137ac416d102bc37fd51f8 Mon Sep 17 00:00:00 2001 From: "Sigmund, Dominik" <dominik.sigmund@br.de> Date: Mon, 31 Jul 2023 10:50:58 +0000 Subject: [PATCH] Update file script.py --- script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.py b/script.py index d72ce15..a9383d8 100644 --- a/script.py +++ b/script.py @@ -81,7 +81,7 @@ def get_total_commits_last_month(gl): try: commits = project.commits.list(since=last_month_start, until=last_month_end) total_commits_last_month += len(commits) - except gitlab.exceptions.GitlabHttpError as e: + except gitlab.exceptions.GitlabListError as e: if e.response_code == 404: # Repository not found for the project print(f"Warning: Repository not found for project '{project.name}'") -- GitLab