summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-04 22:31:14 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-05 10:10:10 +0100
commit0c5fd7ad168ac49023f6f3e1e6cfa8489b511756 (patch)
tree4b79ed1564c5c8ac41a8a9936c3a1cc589236d94 /scripts/lib/devtool/standard.py
parentdea70975dc7678dc3bc10c55f4ab0888cdcb7927 (diff)
downloadpoky-0c5fd7ad168ac49023f6f3e1e6cfa8489b511756.tar.gz
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>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 83191450be..c8d7eb1b2b 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -64,7 +64,7 @@ def add(args, config, basepath, workspace):
64 args.srctree = args.recipename 64 args.srctree = args.recipename
65 args.recipename = None 65 args.recipename = None
66 elif os.path.isdir(args.recipename): 66 elif os.path.isdir(args.recipename):
67 logger.warn('Ambiguous argument %s - assuming you mean it to be the recipe name') 67 logger.warn('Ambiguous argument "%s" - assuming you mean it to be the recipe name' % args.recipename)
68 68
69 if args.srctree and os.path.isfile(args.srctree): 69 if args.srctree and os.path.isfile(args.srctree):
70 args.fetchuri = 'file://' + os.path.abspath(args.srctree) 70 args.fetchuri = 'file://' + os.path.abspath(args.srctree)