From: Richard Purdie Date: Thu, 14 Jun 2007 16:38:18 +0000 (+0000) Subject: bitbake/taskdata: Exit from the providers loop when the first match is found, fixing... X-Git-Tag: 2011-1~11465 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26;p=openembedded-core.git 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 --- 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: eligible.remove(p) eligible = [p] + eligible preferred.append(p) + break if len(eligible) > 1 and len(preferred) == 0: if item not in self.consider_msgs_cache: