From 0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 14 Jun 2007 16:38:18 +0000 Subject: [PATCH] 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 --- bitbake/lib/bb/taskdata.py | 1 + 1 file changed, 1 insertion(+) 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: