summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index 8fb56837ea..3e097579fa 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -315,6 +315,7 @@ class TaskListModel(gtk.ListStore):
315 """ 315 """
316 def mark(self, opath): 316 def mark(self, opath):
317 usersel = {} 317 usersel = {}
318 removed = []
318 it = self.get_iter_first() 319 it = self.get_iter_first()
319 name = self[opath][self.COL_NAME] 320 name = self[opath][self.COL_NAME]
320 321
@@ -343,8 +344,9 @@ class TaskListModel(gtk.ListStore):
343 usersel[iname] = self[path][self.COL_IMG] 344 usersel[iname] = self[path][self.COL_IMG]
344 345
345 # FIXME: need to ensure partial name matching doesn't happen 346 # FIXME: need to ensure partial name matching doesn't happen
346 if inc and deps.count(name): 347 if inc and deps.count(name) and name not in removed:
347 # found a dependency, remove it 348 # found a dependency, remove it
349 removed.append(name)
348 self.mark(path) 350 self.mark(path)
349 351
350 if inc and binb.count(name): 352 if inc and binb.count(name):