From d0a123ec564f6d36977e472f8bc63f9c050ee616 Mon Sep 17 00:00:00 2001 From: Ola x Nilsson Date: Mon, 4 Sep 2017 16:18:37 +0200 Subject: devtool: status: Sort entries before printing Sorted entries are easier to read. Signed-off-by: Ola x Nilsson Signed-off-by: Ross Burton --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg