diff options
author | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2021-07-06 09:44:35 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-06 14:12:29 +0000 |
commit | 5c5f6cfc40b66342b1ed6100cf3d257bd0795c6e (patch) | |
tree | 8531bec645cad889834c58511acd8e51e618b7f2 /util | |
parent | 928b32ff1d095ca33af06d49ab738c518388f6dc (diff) |
locale_database: Sort lists of unused tags before printing
This way the output is easier to compare between versions.
Task-number: QTBUG-83488
Change-Id: If4053c574c4ad200a179b06276bd889f2cb9e1c6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 1887c4ecc1426b1b32ace4b74503b469a2da9137)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/locale_database/qlocalexml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/locale_database/qlocalexml.py b/util/locale_database/qlocalexml.py index 195812359b..630794735f 100644 --- a/util/locale_database/qlocalexml.py +++ b/util/locale_database/qlocalexml.py @@ -384,7 +384,7 @@ class QLocaleXmlWriter (object): grumble('Some enum members are unused, corresponding to these tags:\n') import textwrap def kvetch(kind, seq, g = grumble, w = textwrap.wrap): - g('\n\t'.join(w(' {}: '.format(kind) + ', '.join(seq), width=80)) + '\n') + g('\n\t'.join(w(' {}: '.format(kind) + ', '.join(sorted(seq)), width=80)) + '\n') if self.__languages: kvetch('Languages', self.__languages) if self.__scripts: |