Deprecate passing __env__ in states in favor of saltenv

This commit is contained in:
Pedro Algarvio 2013-11-06 20:27:09 +00:00
parent 155422ff0f
commit edda49ae1f

View File

@ -632,7 +632,7 @@ def script(name,
if isinstance(env, string_types):
msg = (
'Passing a salt environment should be done using \'__env__\' not '
'Passing a salt environment should be done using \'saltenv\' not '
'\'env\'. This warning will go away in Salt Helium and this '
'will be the default and expected behaviour. Please update your '
'state files.'