summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-09 17:21:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-11 19:07:59 +0100
commit33dc927bef2b0d1fb6c72dee1005bef1e5395d6a (patch)
treed3983dcf4db45cd2b0682056f7bd57396d8ddcd8 /bitbake
parentaf8ef316677c37ca937c43dee8a315a8afe27499 (diff)
downloadpoky-33dc927bef2b0d1fb6c72dee1005bef1e5395d6a.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index aec80e24d8..7a463a6d43 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -237,6 +237,9 @@ class TaskListModel(gtk.ListStore):
237 237
238 # uniquify the list of depends 238 # uniquify the list of depends
239 depends = self.squish(depends) 239 depends = self.squish(depends)
240 # remove circular dependencies
241 if name in depends:
242 depends.remove(name)
240 deps = " ".join(depends) 243 deps = " ".join(depends)
241 244
242 if name.count('task-') > 0: 245 if name.count('task-') > 0: