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

git at git.openembedded.org git at git.openembedded.org
Tue Oct 4 23:19:12 UTC 2016


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

commit 87f844e533adfc229a5d26857a82cc6b125216c8
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.
    
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 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)

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


More information about the Openembedded-commits mailing list