1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

bitbake/data.py: Handle exceptions in export_bars in the same way as emit_var()

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-08-20 09:40:49 +01:00
parent 9b8ae6ba45
commit 604f12722a
+8 -3
View File
@@ -233,9 +233,14 @@ def export_vars(d):
keys = (key for key in d.keys() if d.getVarFlag(key, "export"))
ret = {}
for k in keys:
v = d.getVar(k, True)
if v:
ret[k] = v
try:
v = d.getVar(k, True)
if v:
ret[k] = v
except (KeyboardInterrupt, bb.build.FuncFailed):
raise
except Exception, exc:
pass
return ret
def update_data(d):