]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: drop superfluous call to validate_pn
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 21 Feb 2016 22:56:08 +0000 (11:56 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:35 +0000 (11:32 +0000)
commit1e2bc7d861555a04350a87f19047efdc717046be
treeb3498e4b44d35800f0b2f1ebc98c762831c949fb
parent8a952407b192313515e91570632446b6dff01665
devtool: upgrade: drop superfluous call to validate_pn

The recipename argument to devtool upgrade specifies an existing recipe,
so by definition the name will be valid (or it won't exist) - we don't
need to validate it ourselves, that's only needed for situations like in
devtool add where we're creating a new recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/upgrade.py