|
@@ -397,8 +397,7 @@ class DataSmart(MutableMapping):
|
|
|
except bb.parse.SkipRecipe:
|
|
|
raise
|
|
|
except Exception as exc:
|
|
|
- exc_class, exc, tb = sys.exc_info()
|
|
|
- raise ExpansionError, ExpansionError(varname, s, exc), tb
|
|
|
+ raise ExpansionError(varname, s, exc) from exc
|
|
|
|
|
|
varparse.value = s
|
|
|
|