diff options
-rw-r--r-- | bitbake/lib/bb/data.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 9e37f5e32d..223f9c5052 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -233,9 +233,14 @@ def export_vars(d): | |||
233 | keys = (key for key in d.keys() if d.getVarFlag(key, "export")) | 233 | keys = (key for key in d.keys() if d.getVarFlag(key, "export")) |
234 | ret = {} | 234 | ret = {} |
235 | for k in keys: | 235 | for k in keys: |
236 | v = d.getVar(k, True) | 236 | try: |
237 | if v: | 237 | v = d.getVar(k, True) |
238 | ret[k] = v | 238 | if v: |
239 | ret[k] = v | ||
240 | except (KeyboardInterrupt, bb.build.FuncFailed): | ||
241 | raise | ||
242 | except Exception, exc: | ||
243 | pass | ||
239 | return ret | 244 | return ret |
240 | 245 | ||
241 | def update_data(d): | 246 | def update_data(d): |