[OE-core] [PATCH] devtool: status: Sort entries before printing
Ola x Nilsson
ola.x.nilsson at axis.com
Mon Sep 4 14:18:37 UTC 2017
Sorted entries are easier to read.
Signed-off-by: Ola x Nilsson <olani at axis.com>
---
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
--
2.11.0
More information about the Openembedded-core
mailing list