Add key to sort
This commit is contained in:
parent
559f0c6193
commit
428dbfd5bd
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ class Solver(object):
|
|||
# self.transitioning are the models that must transition
|
||||
if len(imminent) > 1:
|
||||
# Perform all selects
|
||||
imminent.sort()
|
||||
imminent.sort(key=lambda i: i.getModelFullName())
|
||||
pending = imminent
|
||||
level = 1
|
||||
while len(pending) > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue