summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-06-14 16:38:18 +0000
committerRichard Purdie <richard@openedhand.com>2007-06-14 16:38:18 +0000
commit0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26 (patch)
tree47b148a4cd3b3df1a2978f6fc6aa65f30c335a84 /bitbake/lib
parenta475d1d98783123d485abc1c78436e22ca073ed5 (diff)
downloadpoky-0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26.tar.gz
bitbake/taskdata: Exit from the providers loop when the first match is found, fixing spurious output and warnings
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1948 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/taskdata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index fdd7848bb7..632a842763 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -448,6 +448,7 @@ class TaskData:
448 eligible.remove(p) 448 eligible.remove(p)
449 eligible = [p] + eligible 449 eligible = [p] + eligible
450 preferred.append(p) 450 preferred.append(p)
451 break
451 452
452 if len(eligible) > 1 and len(preferred) == 0: 453 if len(eligible) > 1 and len(preferred) == 0:
453 if item not in self.consider_msgs_cache: 454 if item not in self.consider_msgs_cache: