summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/ui/crumbs/tasklistmodel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/ui/crumbs/tasklistmodel.py b/lib/bb/ui/crumbs/tasklistmodel.py
index aec80e24d..7a463a6d4 100644
--- a/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/lib/bb/ui/crumbs/tasklistmodel.py
@@ -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: