mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
3223a15f83
From the Python docs on the exec statement: > Remember that at module level, globals and locals are the same dictionary. > If two separate objects are given as globals and locals, the code will be > executed as if it were embedded in a class definition. We were providing a specific object for locals and in the specific case reported in #21796 this caused a very strange name error when used in a specific way. By removing the explicit locals dictionary and just having the globals dictionary be shared fixes the issue, and we weren't using the specific locals anyway. |
||
---|---|---|
.. | ||
cli | ||
modules | ||
netapi | ||
output | ||
pillar | ||
renderers | ||
returners | ||
states | ||
templates | ||
utils | ||
__init__.py | ||
auth_test.py | ||
client_test.py | ||
config_test.py | ||
files_test.py | ||
highstateconf_test.py | ||
log_test.py | ||
minion_test.py | ||
overstate_test.py | ||
payload_test.py | ||
pillar_test.py | ||
pydsl_test.py | ||
pyobjects_test.py | ||
simple.py | ||
stateconf_test.py | ||
template_test.py | ||
version_test.py |