providers.py: Fix package sorting order to reflect priorities
authorChris Conroy <Chris.Conroy@hillcrestlabs.com>
Mon, 21 Sep 2009 20:07:40 +0000 (16:07 -0400)
committerRichard Purdie <rpurdie@rpsys.net>
Fri, 6 Nov 2009 15:08:57 +0000 (15:08 +0000)
commit6f036bdb89e0ed581df415c67eb04749618fd01b
tree9bdb9594c6486fa33195360f21e6198d07859a66
parent53f097ed9f47426dc945c821ae2d6fa162659256
providers.py: Fix package sorting order to reflect priorities

I found that the code that sorts packages does not respect the priority
order.

By iterating over sortpkg_pn.keys() instead of pkg_pn.keys(), it
produces the expected order based on the priorities I have set.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
lib/bb/providers.py