mirror of https://gitlab.com/ita1024/waf.git
Fix one regression on more_tasks #1981
This commit is contained in:
parent
758d520e90
commit
3e1e6586e5
|
@ -217,6 +217,8 @@ class Parallel(object):
|
|||
try:
|
||||
if tsk.prio >= self.outstanding[0].prio:
|
||||
self.outstanding.appendleft(tsk)
|
||||
else:
|
||||
self.outstanding.append(tsk)
|
||||
except AttributeError:
|
||||
self.outstanding.appendleft(tsk)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue