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 75e22f9c45..79b4ed9329 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
| @@ -392,7 +392,8 @@ class DataSmart(MutableMapping): | |||
| 392 | except bb.parse.SkipRecipe: | 392 | except bb.parse.SkipRecipe: |
| 393 | raise | 393 | raise |
| 394 | except Exception as exc: | 394 | except Exception as exc: |
| 395 | raise ExpansionError(varname, s, exc) | 395 | exc_class, exc, tb = sys.exc_info() |
| 396 | raise ExpansionError, ExpansionError(varname, s, exc), tb | ||
| 396 | 397 | ||
| 397 | varparse.value = s | 398 | varparse.value = s |
| 398 | 399 | ||
