use case-insensitive sort for project teams in goal documents
Change-Id: Ie5334d0da9c743ac3016ca92daf7a5dd3c26387a Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
9a54614673
commit
4cd0bacb3e
@ -36,7 +36,7 @@ def main():
|
|||||||
filename = os.path.abspath('reference/projects.yaml')
|
filename = os.path.abspath('reference/projects.yaml')
|
||||||
with open(filename, 'r') as f:
|
with open(filename, 'r') as f:
|
||||||
projects = [k for k in yaml.safe_load(f.read())]
|
projects = [k for k in yaml.safe_load(f.read())]
|
||||||
projects.sort()
|
projects.sort(key=lambda x: x.lower())
|
||||||
|
|
||||||
for p in projects:
|
for p in projects:
|
||||||
print(p)
|
print(p)
|
||||||
|
Loading…
Reference in New Issue
Block a user