bitbake-layers: fix sorting by package name for cooker change

Structure of cooker was changed since the patch for bitbake commit
edacf98cceb2fe1275042595d3fce6822fa411ca was created - cooker.pkg_pn now
has string keys, so sort it accordingly.

(Bitbake rev: 9c2a064ab7fd9b8bcca58dfeb1abfae2555f0088)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2011-07-05 14:25:05 +01:00 committed by Richard Purdie
parent 5168a5055e
commit c4b4e474b6
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class Commands(cmd.Cmd):
logger.info('State of append files:')
pnlist = list(self.cooker_data.pkg_pn.keys())
pnlist.sort( key=lambda item: item.pn )
pnlist.sort()
for pn in pnlist:
self.show_appends_for_pn(pn)