diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-16 15:38:55 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-16 15:40:12 +0000 |
commit | b694d3c3f9764eb0659c60e533d39bd5f3ab8259 (patch) | |
tree | c95b4a0620eec6753895d04ff6328568712bf0c7 /bitbake/lib/bb/providers.py | |
parent | a88950c47796c69a9a3c439e6ce676fec6f6b8e6 (diff) | |
download | poky-b694d3c3f9764eb0659c60e533d39bd5f3ab8259.tar.gz |
bitbake: Revert "providers.py: sort eligible providers by DEFAULT_PREFERENCE"
This breaks preferred providers functionality
This reverts commit ee9afccf33b220a21b74fab279925eeb4771249b.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/providers.py')
-rw-r--r-- | bitbake/lib/bb/providers.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py index db944ae48c..8617251ca3 100644 --- a/bitbake/lib/bb/providers.py +++ b/bitbake/lib/bb/providers.py | |||
@@ -224,8 +224,6 @@ def _filterProviders(providers, item, cfgData, dataCache): | |||
224 | continue | 224 | continue |
225 | eligible.remove(fn) | 225 | eligible.remove(fn) |
226 | eligible = [fn] + eligible | 226 | eligible = [fn] + eligible |
227 | # sort eligible according to their DEFAULT_PREFERENCE | ||
228 | eligible.sort(lambda a, b: dataCache.pkg_dp[b] - dataCache.pkg_dp[a]) | ||
229 | 227 | ||
230 | return eligible | 228 | return eligible |
231 | 229 | ||