mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs/tools/common.py: Handle exception when load_recipes caused by expand PV variable.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
12e6d9a9e0
commit
115bd943d9
|
@ -116,6 +116,11 @@ def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger,
|
|||
for rp in recipe_files:
|
||||
try:
|
||||
data = bb.cache.Cache.loadDataFull(rp, [], d)
|
||||
try:
|
||||
pv = data.getVar('PV', True)
|
||||
except FetchError:
|
||||
data.setVar('SRCPV', '')
|
||||
|
||||
recipes.append(data)
|
||||
except Exception as e:
|
||||
logger.warn("%s: branch %s couldn't be parsed, %s" \
|
||||
|
|
Loading…
Reference in New Issue
Block a user