From: Paul Eggleton Date: Sun, 22 Nov 2015 21:06:50 +0000 (+1300) Subject: devtool: upgrade: remove erroneous error when not renaming recipe X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656348dff9bc9dd1cafc8fff11e5e374e3667f0f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git devtool: upgrade: remove erroneous error when not renaming recipe If we're upgrading a git recipe the recipe file usually won't need renaming; for some unknown reason we were throwing an error here which isn't correct. Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton --- diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 14eff665b64..8851a6edbed 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py @@ -117,7 +117,6 @@ def _rename_recipe_file(bpn, oldpv, newpv, path): recipe = "%s_git.bb" % bpn if os.path.isfile(os.path.join(path, recipe)): newrecipe = recipe - raise DevtoolError("Original recipe not found on workspace") return os.path.join(path, newrecipe) def _rename_recipe_files(bpn, oldpv, newpv, path):