From: Ola x Nilsson Date: Mon, 4 Sep 2017 14:18:37 +0000 (+0200) Subject: devtool: status: Sort entries before printing X-Git-Tag: 2017-10~321 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d0a123ec564f6d36977e472f8bc63f9c050ee616;p=openembedded-core.git devtool: status: Sort entries before printing Sorted entries are easier to read. Signed-off-by: Ola x Nilsson Signed-off-by: Ross Burton --- diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 174cc861e1..0998fa7055 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -1597,7 +1597,7 @@ def update_recipe(args, config, basepath, workspace): def status(args, config, basepath, workspace): """Entry point for the devtool 'status' subcommand""" if workspace: - for recipe, value in workspace.items(): + for recipe, value in sorted(workspace.items()): recipefile = value['recipefile'] if recipefile: recipestr = ' (%s)' % recipefile