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 <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2013-03-20 16:57:57 +00:00
parent 473c47a222
commit 9cec14c8a9

View File

@ -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)