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>
This commit is contained in:
Paul Eggleton 2016-10-04 22:31:14 +13:00 committed by Richard Purdie
parent dea70975dc
commit 0c5fd7ad16
1 changed files with 1 additions and 1 deletions

View 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)