From 9e43b43b32deead70e11f4a96fd4ae622ad604b9 Mon Sep 17 00:00:00 2001 From: "Ian Y. Choi" Date: Tue, 27 Aug 2024 23:03:27 +0900 Subject: [PATCH] [trivial] Utils: ignore 'to-be-released' tag value This tag value is used to set up configuration.yaml before governance tag activity. Executing "tox -evenv -- check-candidacy change_id" command without this patch generates 404 error since there is no way to retrieve projects.yaml file from governance repository tag the tag value. Change-Id: Ic9cbe5c64d8a3388fd17a70fa20fda698606377b --- openstack_election/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_election/utils.py b/openstack_election/utils.py index d37f30a4..e44e201e 100644 --- a/openstack_election/utils.py +++ b/openstack_election/utils.py @@ -252,7 +252,7 @@ def check_ac_date(ac): def _get_projects(tag=None): - if tag: + if tag and tag != 'to-be-released': url = PROJECTS_URL % '/'.join(('tag', tag)) cache_file = '.projects.%s.pkl' % tag else: