diff mbox series

runqueue: set has 'add', not 'append' method

Message ID 20231020173338.873030-1-chris.laplante@agilent.com
State Accepted, archived
Commit 1a353cda696b7f59386ad2d78a57005b90a37da4
Headers show
Series runqueue: set has 'add', not 'append' method | expand

Commit Message

chris.laplante@agilent.com Oct. 20, 2023, 5:33 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

Discovered via pylint

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 56147c50a8..69b746c768 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -157,7 +157,7 @@  class RunQueueScheduler(object):
             (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
             self.stamps[tid] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False)
             if tid in self.rq.runq_buildable:
-                self.buildable.append(tid)
+                self.buildable.add(tid)
 
         self.rev_prio_map = None
         self.is_pressure_usable()