No need to set __env__ = env since that's done in function globals injection machinery.

This commit is contained in:
Pedro Algarvio 2013-11-06 20:23:53 +00:00
parent 962f8d4149
commit 155422ff0f

View File

@ -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()