mirror of
https://git.yoctoproject.org/poky
synced 2026-10-15 04:57:15 +00:00
bb/ui/crumbs/tasklistmodel: don't include an item in its own depends
This causes the simple removal algorithm to perform needless circular logic (Bitbake rev: 396bbc220604c19ced4add30dd17f7f22d5e0022) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
af8ef31667
commit
33dc927bef
1 file changed
+3
@@ -237,6 +237,9 @@ class TaskListModel(gtk.ListStore):
|
||||
|
||||
# uniquify the list of depends
|
||||
depends = self.squish(depends)
|
||||
# remove circular dependencies
|
||||
if name in depends:
|
||||
depends.remove(name)
|
||||
deps = " ".join(depends)
|
||||
|
||||
if name.count('task-') > 0:
|
||||
|
||||
Reference in new issue
Block a user