diff options
Diffstat (limited to 'contrib/sort.py')
-rwxr-xr-x | contrib/sort.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/sort.py b/contrib/sort.py index cdeecf99b..a827e20ba 100755 --- a/contrib/sort.py +++ b/contrib/sort.py | |||
@@ -15,8 +15,8 @@ Usage: {path.basename(argv[0])} [/path/to/profile ...] | |||
15 | 15 | ||
16 | The following commands are supported: | 16 | The following commands are supported: |
17 | 17 | ||
18 | private-bin, private-etc, private-lib, caps.drop, caps.keep, seccomp.drop, | 18 | private-bin, private-etc, private-lib, caps.drop, caps.keep, seccomp, |
19 | seccomp.drop, protocol | 19 | seccomp.drop, seccomp.keep, protocol |
20 | 20 | ||
21 | Note that this is only applicable to commands that support multiple arguments. | 21 | Note that this is only applicable to commands that support multiple arguments. |
22 | 22 | ||
@@ -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 | ||