From c585aa2444b3ef9abcabddea7eedecc2c10a45a1 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 1 May 2018 13:57:51 -0400 Subject: [PATCH] fix list-deliverables for the independent series An earlier commit tried to make the canonical form of the independent series name just 'independent', but it did not update the list-deliverables command. This patch completes the work. Change-Id: Ie161325f58f762d417031b2b70b57c49d72a2f9f Signed-off-by: Doug Hellmann --- openstack_releases/cmds/list_deliverables.py | 4 ---- openstack_releases/deliverable.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/openstack_releases/cmds/list_deliverables.py b/openstack_releases/cmds/list_deliverables.py index e80f380c30..d804e3fd88 100644 --- a/openstack_releases/cmds/list_deliverables.py +++ b/openstack_releases/cmds/list_deliverables.py @@ -132,11 +132,7 @@ def main(): ) args = parser.parse_args() - # Deal with the inconsistency of the name for the independent - # directory. series = args.series - if series == 'independent': - series = '_independent' if args.missing_milestone: model = 'cycle-with-milestones' diff --git a/openstack_releases/deliverable.py b/openstack_releases/deliverable.py index c34a9cfdf0..90020ce1ac 100644 --- a/openstack_releases/deliverable.py +++ b/openstack_releases/deliverable.py @@ -176,7 +176,7 @@ class Deliverables(object): """ if team is None: if series is None: - series = '_independent' + series = 'independent' filenames = self._by_series[series] else: filenames = self._by_team_and_series[(team, series)]