Already fixed on 2015.5

This commit is contained in:
Colton Myers 2015-08-25 12:17:29 -06:00
parent 71c0898fb5
commit a5dafa436c

View File

@ -619,7 +619,7 @@ def sls(mods,
)
# Backwards compatibility
saltenv = env
if not saltenv:
if saltenv is None:
if __opts__.get('environment', None):
saltenv = __opts__['environment']
else:
@ -633,9 +633,6 @@ def sls(mods,
else:
__opts__['pillarenv'] = pillarenv
if saltenv is None:
saltenv = __opts__['environment'] or 'base'
if queue:
_wait(kwargs.get('__pub_jid'))
else: