[gnome-characters/wip/exalm/unistring: 2/15] gen-scripts: Sort scripts
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters/wip/exalm/unistring: 2/15] gen-scripts: Sort scripts
- Date: Fri, 26 Nov 2021 09:25:02 +0000 (UTC)
commit b39a98fbf8fd763569335c79fbb6472d0aa461ec
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Nov 25 18:09:26 2021 +0500
gen-scripts: Sort scripts
Make it deterministic.
lib/gen-scripts.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/lib/gen-scripts.py b/lib/gen-scripts.py
index be20ac1..426b3d2 100755
--- a/lib/gen-scripts.py
+++ b/lib/gen-scripts.py
@@ -45,6 +45,7 @@ def get_language_data(infile, aliases):
scripts = [script for elements in scripts for script in elements]
scripts = set(scripts)
+ scripts = sorted(scripts)
if len(scripts) == 0:
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]