mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
access safe_filename_leaf through utils.files, changed in #43172
This commit is contained in:
parent
42064883ea
commit
4f8e6c65e5
1 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ import salt.utils.dictupdate
|
|||
import salt.utils.event
|
||||
import salt.utils.url
|
||||
import salt.utils.process
|
||||
import salt.utils.files
|
||||
import salt.syspaths as syspaths
|
||||
from salt.utils import immutabletypes
|
||||
from salt.template import compile_template, compile_template_str
|
||||
|
@ -150,7 +151,7 @@ def _clean_tag(tag):
|
|||
'''
|
||||
Make tag name safe for filenames
|
||||
'''
|
||||
return salt.utils.safe_filename_leaf(tag)
|
||||
return salt.utils.files.safe_filename_leaf(tag)
|
||||
|
||||
|
||||
def _l_tag(name, id_):
|
||||
|
|
Loading…
Add table
Reference in a new issue