mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Update old utils paths with new utils paths
This commit is contained in:
parent
d83727fdf9
commit
19ec7b6de1
@ -1296,7 +1296,7 @@ def sls(mods, test=None, exclude=None, queue=False, **kwargs):
|
||||
__opts__['test'] = orig_test
|
||||
|
||||
try:
|
||||
with salt.utils.fopen(cfn, 'w+b') as fp_:
|
||||
with salt.utils.files.fopen(cfn, 'w+b') as fp_:
|
||||
try:
|
||||
serial.dump(high_, fp_)
|
||||
except TypeError:
|
||||
|
@ -10,7 +10,6 @@ input as formatted by states.
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
import copy
|
||||
import logging
|
||||
import os
|
||||
|
||||
# Import Salt libs
|
||||
import salt.utils.args
|
||||
@ -184,7 +183,7 @@ def translate_input(translator,
|
||||
of that tuple will have their translation skipped. Optionally,
|
||||
skip_translate can be set to True to skip *all* translation.
|
||||
'''
|
||||
kwargs = copy.deepcopy(salt.utils.clean_kwargs(**kwargs))
|
||||
kwargs = copy.deepcopy(salt.utils.args.clean_kwargs(**kwargs))
|
||||
invalid = {}
|
||||
collisions = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user