mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Let's not forget to remove the log message
This commit is contained in:
parent
5573b18624
commit
ea5317f2e0
@ -21,6 +21,7 @@ import yaml
|
||||
|
||||
# Import salt libs
|
||||
import salt
|
||||
import salt.utils
|
||||
import salt.fileclient
|
||||
from salt.utils.odict import OrderedDict
|
||||
from salt.ext.six import string_types
|
||||
@ -375,6 +376,11 @@ class SerializerExtension(Extension, object):
|
||||
if yaml_txt.endswith('\n...\n'):
|
||||
log.info('Yaml filter ended with "\n...\n". This trailing string '
|
||||
'will be removed in Boron.')
|
||||
salt.utils.warn_until(
|
||||
'Boron',
|
||||
'Please remove the log message above.',
|
||||
_dont_call_warnings=True
|
||||
)
|
||||
return Markup(yaml_txt)
|
||||
|
||||
def format_python(self, value):
|
||||
|
Loading…
Reference in New Issue
Block a user