summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorChris Laplante <chris.laplante@agilent.com>2023-10-20 13:33:38 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-23 11:46:36 +0100
commit9ddd559091bf64553ff24c4dc8fda1ba15cd1e3e (patch)
tree91aff00d7ebfcff1166829169a0411e02646d31f /bitbake/lib/bb/runqueue.py
parent0a55156ca06d69d79c3a4cca9d84ca2e403f774a (diff)
downloadpoky-9ddd559091bf64553ff24c4dc8fda1ba15cd1e3e.tar.gz
bitbake: runqueue: set has 'add', not 'append' method
Discovered via pylint (Bitbake rev: 1a353cda696b7f59386ad2d78a57005b90a37da4) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 28b9667c47..50475ea0cd 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -157,7 +157,7 @@ class RunQueueScheduler(object):
157 (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) 157 (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
158 self.stamps[tid] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False) 158 self.stamps[tid] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False)
159 if tid in self.rq.runq_buildable: 159 if tid in self.rq.runq_buildable:
160 self.buildable.append(tid) 160 self.buildable.add(tid)
161 161
162 self.rev_prio_map = None 162 self.rev_prio_map = None
163 self.is_pressure_usable() 163 self.is_pressure_usable()