summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/providers.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/providers.py')
-rw-r--r--bitbake/lib/bb/providers.py2
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