From e99cfb7bdffce2b20c8a950411348b656d4d75f4 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 25 Feb 2017 11:25:33 +0100 Subject: [PATCH] sort --- keyword_overview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyword_overview.py b/keyword_overview.py index 2bd22ac..a6e2f3c 100755 --- a/keyword_overview.py +++ b/keyword_overview.py @@ -49,7 +49,7 @@ unknown_tags = [t for t in tags if t not in known_tags] missing_tags = [t for t in known_tags if t not in tags] if missing_tags: - print('missing tags\n', ', '.join(missing_tags)) + print('missing tags\n', ', '.join(sorted(missing_tags))) for letter in sorted(KEYWORDS): print('\n\n') @@ -96,4 +96,4 @@ if clips0: print('\n\n%d clips with 0 duration' % len(clips0)) print('\t' + '\n\t'.join(sorted(['https://cdosea.0x2620.org/' + c['id'] + ' ' + c['value'] for c in clips0]))) if unknown_tags: - print('\n\nunknown tags\n', ', '.join(unknown_tags)) + print('\n\nunknown tags\n', ', '.join(sorted(unknown_tags)))