[oe-commits] [openembedded-core] 10/37: devtool: add: fix error message when only specifying a recipe name

git at git.openembedded.org git at git.openembedded.org
Tue Nov 8 23:47:56 UTC 2016


rpurdie pushed a commit to branch krogoth
in repository openembedded-core.

commit 9bff81f882f30b9f317516330608c203601a4769
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: 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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.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 cdd76dc..ae6517e 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -63,7 +63,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.fetch:
         if args.fetchuri:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list