From be03798ede5f5ee584d0a2477e7e61373b4ac987 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 14 Feb 2024 04:08:31 +0100 Subject: [PATCH] removing irrelevant project_id --- tools/autoupdate_app_sources/rest_api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/autoupdate_app_sources/rest_api.py b/tools/autoupdate_app_sources/rest_api.py index 22374bbc..9da67515 100644 --- a/tools/autoupdate_app_sources/rest_api.py +++ b/tools/autoupdate_app_sources/rest_api.py @@ -118,7 +118,6 @@ class GiteaForgejoAPI: split = re.search("(?Phttps?://.+)/(?P[^/]+)/(?P[^/]+)/?$", upstream) self.upstream = split.group("host") self.upstream_repo = f"{split.group('group')}/{split.group('project')}" - self.project_id = self.find_project_id(self.upstream_repo) def internal_api(self, uri: str): url = f"{self.upstream}/api/v1/{uri}"