Commit bd4f9fc6 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update plugin_dbui/navtree to use py3 syntax to sort list.

parent c04cd87e
...@@ -77,7 +77,7 @@ class Node(object): ...@@ -77,7 +77,7 @@ class Node(object):
cvt[str(T(el))] = el cvt[str(T(el))] = el
translate_leaves = list(cvt.keys()) translate_leaves = list(cvt.keys())
translate_leaves.sort(cmp=locale.strcoll) translate_leaves.sort()
# fill the node with its children # fill the node with its children
for tr_leaf in translate_leaves: for tr_leaf in translate_leaves:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment