mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
No need to set __env__ = env
since that's done in function globals injection machinery.
This commit is contained in:
parent
962f8d4149
commit
155422ff0f
@ -639,8 +639,8 @@ def script(name,
|
||||
)
|
||||
salt.utils.warn_until('Helium', msg)
|
||||
ret.setdefault('warnings', []).append(msg)
|
||||
# Backwards compatibility
|
||||
__env__ = env
|
||||
# No need to set __env__ = env since that's done in function
|
||||
# globals injection machinery
|
||||
|
||||
if HAS_GRP:
|
||||
pgid = os.getegid()
|
||||
|
Loading…
Reference in New Issue
Block a user