abouttreesummaryrefslogcommitdiff
path: root/check_layout.py
diff options
context:
space:
mode:
authorJules Aguillon2023-09-03 20:15:31 +0200
committerJules Aguillon2023-09-03 20:15:31 +0200
commit86038ef51273d38339ab0f06fef6d3e03e58a836 (patch)
tree04eae5c5e4b33fbf9bd31f8468232519a77f32ba /check_layout.py
parent816269aed0ad32d6a31837a884abb3db8cf4abd8 (diff)
downloadunexpected-keyboard-86038ef51273d38339ab0f06fef6d3e03e58a836.tar.gz
unexpected-keyboard-86038ef51273d38339ab0f06fef6d3e03e58a836.zip
check_layout.py: Deterministic output order
Diffstat (limited to 'check_layout.py')
-rw-r--r--check_layout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_layout.py b/check_layout.py
index d57d948..97887de 100644
--- a/check_layout.py
+++ b/check_layout.py
@@ -83,7 +83,7 @@ def check_layout(layout):
if root.get("script") == None:
warn("Layout doesn't specify a script.")
-for fname in sys.argv[1:]:
+for fname in sorted(sys.argv[1:]):
if fname in KNOWN_NOT_LAYOUT:
continue
layout = parse_layout(fname)