summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-30 09:31:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-30 21:57:14 +0100
commited15be3313681c6e4cd7185e285a77ec37dc8750 (patch)
tree5a7cea8f39c9f783d38bdd84e75b8de2275edd62 /bitbake/lib
parentbfdc8a295b09a6b890f88199e60f3a70c6be7c36 (diff)
downloadpoky-ed15be3313681c6e4cd7185e285a77ec37dc8750.tar.gz
ui/crumbs/tasklistmodel: remove unnecessary check
Cheaper to set COL_INC to True regardless of whether it's already set. (Bitbake rev: 12c6f98ba7a68baeeaee00594d910e1be8d55d87) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index 14a611f5e4..790631fc98 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -436,9 +436,8 @@ class TaskListModel(gtk.ListStore):
436 def include_item(self, item_path, binb="", image_contents=False): 436 def include_item(self, item_path, binb="", image_contents=False):
437 item_name = self[item_path][self.COL_NAME] 437 item_name = self[item_path][self.COL_NAME]
438 item_deps = self[item_path][self.COL_DEPS] 438 item_deps = self[item_path][self.COL_DEPS]
439 item_inc = self[item_path][self.COL_INC] 439
440 if not item_inc: 440 self[item_path][self.COL_INC] = True
441 self[item_path][self.COL_INC] = True
442 441
443 item_bin = self[item_path][self.COL_BINB].split(', ') 442 item_bin = self[item_path][self.COL_BINB].split(', ')
444 if not binb in item_bin: 443 if not binb in item_bin: