outstanding.insert -> outstanding.append_left

This commit is contained in:
Thomas Nagy 2016-03-31 07:42:08 +02:00
parent a0bd260957
commit 8717fa791f
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
5 changed files with 6 additions and 5 deletions

View File

@ -30,4 +30,5 @@ NEW IN WAF 1.9
- Improve the task consumer in Runner.py
- Use relative paths in apply_incpaths by default (and absolute ones when paths cross drives)
- Remove Configure.err_handler
- Remove TaskBase.attr() as it was never used
- Task.sig_vars, Task.sig_explit_deps and Task.sig_implicit_deps return None

View File

@ -56,7 +56,7 @@ def runnable_status(self):
tsk = mock_tasks[m_node]
except KeyError:
tsk = mock_tasks[m_node] = self.generator.create_task('mock', [h_node], [m_node])
bld.producer.outstanding.insert(0, tsk)
bld.producer.outstanding.appendleft(tsk)
bld.producer.total += 1
# preprocessor cache :-/
@ -86,7 +86,7 @@ def runnable_status(self):
tsk = mock_tasks[x]
except KeyError:
tsk = mock_tasks[x] = self.generator.create_task('mock', [h_node], [x])
bld.producer.outstanding.insert(0, tsk)
bld.producer.outstanding.appendleft(tsk)
bld.producer.total += 1
add = True

View File

@ -192,7 +192,7 @@ class qxx(Task.classes['cxx']):
# direct injection in the build phase (safe because called from the main thread)
gen = self.generator.bld.producer
gen.outstanding.insert(0, tsk)
gen.outstanding.appendleft(tsk)
gen.total += 1
return tsk

View File

@ -63,7 +63,7 @@ class cxx_qt(Task.classes['cxx']):
# moc is trying to be too smart but it is too dumb:
# why forcing the #include when Q_OBJECT is in the cpp file?
gen = self.generator.bld.producer
gen.outstanding.insert(0, tsk)
gen.outstanding.appendleft(tsk)
gen.total += 1
self.set_run_after(tsk)
else:

View File

@ -112,7 +112,7 @@ def swig_c(self):
c_tsk.set_run_after(self)
ge = self.generator.bld.producer
ge.outstanding.insert(0, c_tsk)
ge.outstanding.appendleft(c_tsk)
ge.total += 1
try: