Commit 3b87986e authored by Iustin Pop's avatar Iustin Pop
Browse files

Nicely sort the job list

Unless we decide to change the job identifiers to integer, we should at
least sort the list returned by _GetJobIDsUnlocked.

Reviewed-by: imsnah
parent 33081d90
......@@ -492,7 +492,7 @@ class JobQueue(object):
"""
jlist = [self._ExtractJobID(name) for name in self._ListJobFiles()]
jlist.sort()
jlist = utils.NiceSort(jlist)
return jlist
def _ListJobFiles(self):
......
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