]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: add: fix error message when only specifying a recipe name
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 4 Oct 2016 09:31:14 +0000 (22:31 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Oct 2016 23:12:25 +0000 (00:12 +0100)
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py

index 83191450bedd3471f1a8e0868a50239718e47283..c8d7eb1b2b261421635d60737915867e7c3a14c5 100644 (file)
@@ -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)