Currently, there is one global Variables object, as member of the global Application. When loading profiles, variables are added to it, but never removed. So when switching profiles, there are still variables present from the previous profile. With this commit, the Variables object is now owned by the Profile. It is created by the profile loader, so that more complex laod scenarios (multiple profiles, potentially with includes) still only use one Variables object. Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com> |
||
|---|---|---|
| .. | ||
| exports | ||
| hardware | ||
| monitors | ||
| plugins | ||
| profiles | ||
| storage | ||
| utils | ||
| __init__.py | ||
| func_basic.sh | ||
| globals.py | ||