From b694d3c3f9764eb0659c60e533d39bd5f3ab8259 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 16 Feb 2010 15:38:55 +0000 Subject: bitbake: Revert "providers.py: sort eligible providers by DEFAULT_PREFERENCE" This breaks preferred providers functionality This reverts commit ee9afccf33b220a21b74fab279925eeb4771249b. Signed-off-by: Richard Purdie --- bitbake/lib/bb/providers.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'bitbake') 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): 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 -- cgit v1.2.3