diff options
author | Richard Purdie <richard@openedhand.com> | 2007-06-14 16:38:18 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-06-14 16:38:18 +0000 |
commit | 0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26 (patch) | |
tree | 47b148a4cd3b3df1a2978f6fc6aa65f30c335a84 | |
parent | a475d1d98783123d485abc1c78436e22ca073ed5 (diff) | |
download | openembedded-core-0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26.tar.gz openembedded-core-0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26.tar.bz2 openembedded-core-0f5900dabe6d7b22ba8b99c9bc66a85cc177ba26.zip |
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
-rw-r--r-- | bitbake/lib/bb/taskdata.py | 1 |
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: 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: |