summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index 8413873a2c..14a611f5e4 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -481,11 +481,9 @@ class TaskListModel(gtk.ListStore):
481 return None 481 return None
482 482
483 it = self.get_iter_first() 483 it = self.get_iter_first()
484 path = None
485 while it: 484 while it:
486 path = self.get_path(it) 485 if (self.get_value(it, self.COL_NAME) == item_name):
487 if (self[path][self.COL_NAME] == item_name): 486 return self.get_path(it)
488 return path
489 else: 487 else:
490 it = self.iter_next(it) 488 it = self.iter_next(it)
491 return None 489 return None