Sort team names in highlight output
Teams were being added in the order they were processed, which could result in a jumbled list in the generated highlights page. This sorts the teams by name to have some logical ordering to the results to make it easier to locate specific team notes in the output. Change-Id: I91fef6e5e5aed71f285ba96d5458ad56568d1335
This commit is contained in:
parent
6e7dc968ed
commit
7c393831f2
@ -425,7 +425,7 @@ class HighlightsDirective(rst.Directive):
|
||||
series_highlights = self._get_deliverable_highlights(series)
|
||||
source_name = '<{}>'.format(__name__)
|
||||
|
||||
for team in series_highlights.keys():
|
||||
for team in sorted(series_highlights.keys()):
|
||||
app.info('[highlights] rendering %s highlights for %s' %
|
||||
(team.title(), series))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user