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 <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-05-01 13:57:51 -04:00
parent 94fe723d0b
commit c585aa2444
2 changed files with 1 additions and 5 deletions

View File

@ -132,11 +132,7 @@ def main():
) )
args = parser.parse_args() args = parser.parse_args()
# Deal with the inconsistency of the name for the independent
# directory.
series = args.series series = args.series
if series == 'independent':
series = '_independent'
if args.missing_milestone: if args.missing_milestone:
model = 'cycle-with-milestones' model = 'cycle-with-milestones'

View File

@ -176,7 +176,7 @@ class Deliverables(object):
""" """
if team is None: if team is None:
if series is None: if series is None:
series = '_independent' series = 'independent'
filenames = self._by_series[series] filenames = self._by_series[series]
else: else:
filenames = self._by_team_and_series[(team, series)] filenames = self._by_team_and_series[(team, series)]