db : Reorder older databases.
This commit is contained in:
parent
632a33306f
commit
d5604b7517
3 changed files with 41 additions and 41 deletions
2
check.py
2
check.py
|
@ -463,7 +463,7 @@ def main():
|
|||
out_file.write("\n")
|
||||
out_file.write("# " + platform + "\n")
|
||||
sorted_p_dict = sorted(p_dict.items(),
|
||||
key=lambda x: (x[1].name+"\x00"+x[0]).lower())
|
||||
key=lambda x: ("%s\x00%s" % (x[1].name, x[0])).lower())
|
||||
|
||||
for guid,mapping in sorted_p_dict:
|
||||
out_file.write(mapping.serialize() + "\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue