aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/providers.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/providers.py')
-rw-r--r--lib/bb/providers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/providers.py b/lib/bb/providers.py
index fcee6dc4f..3d0fb4840 100644
--- a/lib/bb/providers.py
+++ b/lib/bb/providers.py
@@ -92,9 +92,9 @@ def sortPriorities(pn, dataCache, pkg_pn = None):
priorities[priority][preference] = []
priorities[priority][preference].append(f)
tmp_pn = []
- for pri in sorted(priorities, lambda a, b: a - b):
+ for pri in sorted(priorities):
tmp_pref = []
- for pref in sorted(priorities[pri], lambda a, b: b - a):
+ for pref in sorted(priorities[pri]):
tmp_pref.extend(priorities[pri][pref])
tmp_pn = [tmp_pref] + tmp_pn