diff options
author | netblue30 <netblue30@protonmail.com> | 2023-11-24 17:06:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 17:06:10 -0500 |
commit | 03e75e5f1d9b7b570b14e17309b18737e7308552 (patch) | |
tree | 3b56061bc5687685a13b0e5cdf66800106930744 /contrib/sort.py | |
parent | Merge pull request #6067 from nutta-git/patch-2 (diff) | |
parent | build: sort.py: use case-sensitive sorting (diff) | |
download | firejail-03e75e5f1d9b7b570b14e17309b18737e7308552.tar.gz firejail-03e75e5f1d9b7b570b14e17309b18737e7308552.tar.zst firejail-03e75e5f1d9b7b570b14e17309b18737e7308552.zip |
Merge pull request #6070 from kmk3/sort-py-csort
build: sort.py: use case-sensitive sorting
Diffstat (limited to 'contrib/sort.py')
-rwxr-xr-x | contrib/sort.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sort.py b/contrib/sort.py index 026384e1a..a827e20ba 100755 --- a/contrib/sort.py +++ b/contrib/sort.py | |||
@@ -38,7 +38,7 @@ Exit Codes: | |||
38 | 38 | ||
39 | def sort_alphabetical(original_items): | 39 | def sort_alphabetical(original_items): |
40 | items = original_items.split(",") | 40 | items = original_items.split(",") |
41 | items.sort(key=str.casefold) | 41 | items.sort() |
42 | return ",".join(items) | 42 | return ",".join(items) |
43 | 43 | ||
44 | 44 | ||