diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/sort.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/sort.py b/contrib/sort.py index b70f83e6c..7a4f57da4 100755 --- a/contrib/sort.py +++ b/contrib/sort.py | |||
@@ -38,7 +38,8 @@ 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() | 41 | items = filter(None, set(items)) |
42 | items = sorted(items) | ||
42 | return ",".join(items) | 43 | return ",".join(items) |
43 | 44 | ||
44 | 45 | ||