mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
247d38d1da
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. |
||
---|---|---|
.. | ||
integration | ||
pkg/rpm | ||
unit | ||
utils | ||
__init__.py | ||
buildpackage.py | ||
consist.py | ||
eventlisten.py | ||
jenkins.py | ||
minionswarm.py | ||
packdump.py | ||
runtests.py | ||
salt-tcpdump.py | ||
saltsh.py | ||
wheeltest.py |