Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
bd4f9fc6
Commit
bd4f9fc6
authored
Nov 06, 2019
by
LE GAC Renaud
Browse files
Update plugin_dbui/navtree to use py3 syntax to sort list.
parent
c04cd87e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/plugin_dbui/navtree.py
modules/plugin_dbui/navtree.py
+1
-1
No files found.
modules/plugin_dbui/navtree.py
View file @
bd4f9fc6
...
...
@@ -77,7 +77,7 @@ class Node(object):
cvt
[
str
(
T
(
el
))]
=
el
translate_leaves
=
list
(
cvt
.
keys
())
translate_leaves
.
sort
(
cmp
=
locale
.
strcoll
)
translate_leaves
.
sort
()
# fill the node with its children
for
tr_leaf
in
translate_leaves
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment