diff options
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 6b94fc4b42..efa5a79f78 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -427,7 +427,8 @@ class DataSmart(MutableMapping): | |||
427 | except bb.parse.SkipRecipe: | 427 | except bb.parse.SkipRecipe: |
428 | raise | 428 | raise |
429 | except Exception as exc: | 429 | except Exception as exc: |
430 | raise ExpansionError(varname, s, exc) from exc | 430 | tb = sys.exc_info()[2] |
431 | raise ExpansionError(varname, s, exc).with_traceback(tb) from exc | ||
431 | 432 | ||
432 | varparse.value = s | 433 | varparse.value = s |
433 | 434 | ||