]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/taskdata: Exit from the providers loop when the first match is found, fixing...
authorRichard Purdie <richard@openedhand.com>
Thu, 14 Jun 2007 16:38:18 +0000 (16:38 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 14 Jun 2007 16:38:18 +0000 (16:38 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1948 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake/lib/bb/taskdata.py

index fdd7848bb74bea9514daf84abcfca261d062bf17..632a8427631213c07988f8e931c8db1e504b256a 100644 (file)
@@ -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: