mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Move yaml utilities to salt.utils, #631
This commit is contained in:
parent
564246ed6e
commit
4ceacf6912
@ -12,8 +12,7 @@ import warnings
|
||||
|
||||
# Import Salt libs
|
||||
from salt.utils.jinja import get_template
|
||||
|
||||
from salt.renderers.utils import CustomLoader, load
|
||||
from salt.utils.yaml import CustomLoader, load
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
@ -11,7 +11,7 @@ import os
|
||||
# Import Third Party libs
|
||||
from mako.template import Template
|
||||
|
||||
from salt.renderers.utils import CustomLoader, load
|
||||
from salt.utils.yaml import CustomLoader, load
|
||||
|
||||
|
||||
def render(template, env='', sls=''):
|
||||
|
@ -1,3 +1,4 @@
|
||||
from __future__ import absolute_import
|
||||
import warnings
|
||||
|
||||
# Import thirt party modules
|
Loading…
Reference in New Issue
Block a user