From 9cec14c8a96698d8dff268b14afbcb5610523d27 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 20 Mar 2013 16:57:57 +0000 Subject: [PATCH] update.py: make failure to parse a recipe an error Ensure that these are still printed when the -q option is used. Signed-off-by: Paul Eggleton --- layerindex/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layerindex/update.py b/layerindex/update.py index 7bdbdb2..338e31d 100755 --- a/layerindex/update.py +++ b/layerindex/update.py @@ -110,7 +110,7 @@ def update_recipe_file(data, path, recipe, layerdir_start, repodir): except BaseException as e: if not recipe.pn: recipe.pn = recipe.filename[:-3].split('_')[0] - logger.info("Unable to read %s: %s", fn, str(e)) + logger.error("Unable to read %s: %s", fn, str(e)) def update_machine_conf_file(path, machine): logger.debug('Updating machine %s' % path)