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}"