Fix sorting bug.
This commit is contained in:
parent
03a5e5c71e
commit
b6beaacdb3
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class Node:
|
||||||
nodes = []
|
nodes = []
|
||||||
for subnode in self.subnodes:
|
for subnode in self.subnodes:
|
||||||
nodes.extend(subnode.pull_nodes())
|
nodes.extend(subnode.pull_nodes())
|
||||||
return sorted(set(nodes))
|
return sorted(set(nodes), key=lambda x: x.uri)
|
||||||
|
|
||||||
def push_links(self):
|
def push_links(self):
|
||||||
links = []
|
links = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue