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 | |
parent | a88950c47796c69a9a3c439e6ce676fec6f6b8e6 (diff) | |
download | openembedded-core-b694d3c3f9764eb0659c60e533d39bd5f3ab8259.tar.gz openembedded-core-b694d3c3f9764eb0659c60e533d39bd5f3ab8259.tar.bz2 openembedded-core-b694d3c3f9764eb0659c60e533d39bd5f3ab8259.tar.xz openembedded-core-b694d3c3f9764eb0659c60e533d39bd5f3ab8259.zip |
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')
-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 db944ae48..8617251ca 100644 --- a/bitbake/lib/bb/providers.py +++ b/bitbake/lib/bb/providers.py @@ -224,8 +224,6 @@ def _filterProviders(providers, item, cfgData, dataCache): continue eligible.remove(fn) eligible = [fn] + eligible - # sort eligible according to their DEFAULT_PREFERENCE - eligible.sort(lambda a, b: dataCache.pkg_dp[b] - dataCache.pkg_dp[a]) return eligible |