Skip to contentSkip to conversation

devtool: status: Sort entries before printing

PATCH New Ola x Nilsson 1 participant 1 message Sep 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devtool: status: Sort entries before printing

Sorted entries are easier to read.

---
 scripts/lib/devtool/standard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/devtool/standard.py +1 -1
index 174cc861e1..0998fa7055 100644
@@ -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
Signature · 1 line
2.11.0