[gnome-characters/wip/exalm/unistring: 2/15] gen-scripts: Sort scripts




commit ef68578ff89c9459323a76f1a1c72c449b6359d4
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]