[bitbake-devel] [PATCH 2/3] bb/ui/crumbs/tasklistmodel: fix find_reverse_depends method

Joshua Lock josh at linux.intel.com
Wed Aug 24 20:25:59 UTC 2011


This fixes an embarassing typo which meant the method actually returned a
list of packages which didn't depend on the passed pn.

Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
 lib/bb/ui/crumbs/tasklistmodel.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/bb/ui/crumbs/tasklistmodel.py b/lib/bb/ui/crumbs/tasklistmodel.py
index 3921581..5ff1f5a 100644
--- a/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/lib/bb/ui/crumbs/tasklistmodel.py
@@ -577,7 +577,7 @@ class TaskListModel(gtk.ListStore):
             if not itype == 'package':
                 continue
 
-            if pn not in deps:
+            if pn in deps:
                 revdeps.append(name)
 
         if pn in revdeps:
-- 
1.7.6





More information about the bitbake-devel mailing list