[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7601/8267] devtool: status: Sort entries before printing



commit 9bf6b1127ad96cb197ba4c226c01f059fd6ec6ec
Author: Ola x Nilsson <ola x nilsson axis com>
Date:   Mon Sep 4 16:18:37 2017 +0200

    devtool: status: Sort entries before printing
    
    Sorted entries are easier to read.
    
    (From OE-Core rev: d0a123ec564f6d36977e472f8bc63f9c050ee616)
    
    Signed-off-by: Ola x Nilsson <olani axis com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 scripts/lib/devtool/standard.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 174cc86..0998fa7 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]