mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs/tools/common.py: Fix typo when load recipes
[YOCTO #10863] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
d13329be1d
commit
fbe5857877
|
@ -117,7 +117,7 @@ def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger,
|
||||||
recipe_files = get_recipe_files(layerdir)
|
recipe_files = get_recipe_files(layerdir)
|
||||||
|
|
||||||
recipes = []
|
recipes = []
|
||||||
for rp in recipe_files:
|
for fn in recipe_files:
|
||||||
try:
|
try:
|
||||||
if hasattr(tinfoil, 'parse_recipe_file'):
|
if hasattr(tinfoil, 'parse_recipe_file'):
|
||||||
data = tinfoil.parse_recipe_file(fn, appends=False, config_data=d)
|
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)
|
recipes.append(data)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("%s: branch %s couldn't be parsed, %s" \
|
logger.error("%s: branch %s couldn't be parsed, %s" \
|
||||||
% (layerbranch, rp, str(e)))
|
% (layerbranch, fn, str(e)))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
return (tinfoil, d, recipes)
|
return (tinfoil, d, recipes)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user