Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix sorting of updater names starting with Turkish letters.

  • Loading branch information...
commit ee3279580a8f392d69a3ed123c3937909cc69f2e 1 parent bcd9e19
Gökçen Eraslan authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/find-new-packages
6 scripts/find-new-packages
@@ -3,6 +3,7 @@
import os
import sys
+import locale
import multiprocessing
import pisi
@@ -158,9 +159,12 @@ def main():
print LEGEND
+ # Get collate locale to sort updater names starts with unicode letters correctly
+ locale.setlocale(locale.LC_COLLATE, "")
# Dump updates.txt
with open("updates.txt", "w") as f:
- for updater in sorted(updaters):
+ for updater in sorted(updaters, cmp=locale.strcoll):
sources = updaters[updater]
f.write("%s:\n" % updater)
for source in sorted(sources):
Please sign in to comment.
Something went wrong with that request. Please try again.