[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2851/8267] devtool: add: fix error message when only specifying a recipe name



commit 0c5fd7ad168ac49023f6f3e1e6cfa8489b511756
Author: Paul Eggleton <paul eggleton linux intel com>
Date:   Tue Oct 4 22:31:14 2016 +1300

    devtool: add: fix error message when only specifying a recipe name
    
    We were supposed to be printing out the specified recipe name here but I
    forgot to specify a parameter for the string.
    
    (From OE-Core rev: 87f844e533adfc229a5d26857a82cc6b125216c8)
    
    Signed-off-by: Paul Eggleton <paul eggleton linux 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 8319145..c8d7eb1 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -64,7 +64,7 @@ def add(args, config, basepath, workspace):
             args.srctree = args.recipename
             args.recipename = None
         elif os.path.isdir(args.recipename):
-            logger.warn('Ambiguous argument %s - assuming you mean it to be the recipe name')
+            logger.warn('Ambiguous argument "%s" - assuming you mean it to be the recipe name' % 
args.recipename)
 
     if args.srctree and os.path.isfile(args.srctree):
         args.fetchuri = 'file://' + os.path.abspath(args.srctree)


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