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: 2016-4~2158 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=656348dff9bc9dd1cafc8fff11e5e374e3667f0f;p=openembedded-core.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 14eff665b6..8851a6edbe 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):