mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Clarify where the deprecation warning is coming from.
This commit is contained in:
parent
15af04c71a
commit
49fb217c7b
@ -769,11 +769,12 @@ class Loader(object):
|
||||
salt.utils.warn_until(
|
||||
'Hydrogen',
|
||||
'The {0!r} module is renaming itself '
|
||||
'in it\'s __virtual__() function. '
|
||||
'Please set it\'s virtual name as the '
|
||||
'\'__virtualname__\' module attribute.'
|
||||
' Example: "__virtualname__ = {1!r}"'
|
||||
.format(
|
||||
'in it\'s __virtual__() function ({1} '
|
||||
'=> {2}). Please set it\'s virtual '
|
||||
'name as the \'__virtualname__\' '
|
||||
'module attribute. Example: '
|
||||
'"__virtualname__ = {2!r}"'.format(
|
||||
mod.__name__,
|
||||
module_name,
|
||||
virtual
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user