diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-07-07 16:38:37 -0500 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:52 +1200 |
commit | 72cc4f72baecd0d76068b005da1bade30be6f813 (patch) | |
tree | 20ea3a9b7938eb1eeb4649c44f31826575d60314 /rrs/tools/common.py | |
parent | ec0ae0dc29c507120bae8e65beb3837d8ef8467d (diff) | |
download | openembedded-core-contrib-72cc4f72baecd0d76068b005da1bade30be6f813.tar.gz |
rrs/tools/common.py: Add import of FetchError and display parse errors
Import of FetchError when try to expand PV somethings requires to have
SRCREV/SRCPV causing an FetcherError.
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.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rrs/tools/common.py b/rrs/tools/common.py index 4f946787a6..5ce852c2e7 100644 --- a/rrs/tools/common.py +++ b/rrs/tools/common.py @@ -92,6 +92,7 @@ def get_recipe_files(layerdir): def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger, recipe_files=None, nocheckout=False): from layerindex import recipeparse + from bb.fetch import FetchError try: (tinfoil, tempdir) = recipeparse.init_parser(settings, @@ -123,7 +124,7 @@ def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger, recipes.append(data) except Exception as e: - logger.warn("%s: branch %s couldn't be parsed, %s" \ + logger.error("%s: branch %s couldn't be parsed, %s" \ % (layerbranch, rp, str(e))) continue |