aboutsummaryrefslogtreecommitdiffstats
path: root/rrs/tools/common.py
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-01-05 17:54:32 -0600
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:52 +1200
commitfbe5857877b82579543a6164972e6e70373f507d (patch)
tree833ebe098fcdfadddf1f15628a46189bb46d6a2f /rrs/tools/common.py
parentd13329be1dcce78fad5c5d907531a4dfdc237fed (diff)
downloadopenembedded-core-contrib-fbe5857877b82579543a6164972e6e70373f507d.tar.gz
rrs/tools/common.py: Fix typo when load recipes
[YOCTO #10863] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'rrs/tools/common.py')
-rw-r--r--rrs/tools/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rrs/tools/common.py b/rrs/tools/common.py
index 9dca431c24..3891dfb205 100644
--- a/rrs/tools/common.py
+++ b/rrs/tools/common.py
@@ -117,7 +117,7 @@ def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger,
recipe_files = get_recipe_files(layerdir)
recipes = []
- for rp in recipe_files:
+ for fn in recipe_files:
try:
if hasattr(tinfoil, 'parse_recipe_file'):
data = tinfoil.parse_recipe_file(fn, appends=False, config_data=d)
@@ -132,7 +132,7 @@ def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger,
recipes.append(data)
except Exception as e:
logger.error("%s: branch %s couldn't be parsed, %s" \
- % (layerbranch, rp, str(e)))
+ % (layerbranch, fn, str(e)))
continue
return (tinfoil, d, recipes)