mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update old utils files to new new utils files path
This commit is contained in:
parent
28a79ebba4
commit
1ddf8c584b
1 changed files with 1 additions and 1 deletions
|
@ -4660,7 +4660,7 @@ def _getScriptSettingsFromIniFile(policy_info):
|
|||
'''
|
||||
_existingData = None
|
||||
if os.path.isfile(policy_info['ScriptIni']['IniPath']):
|
||||
with salt.utils.fopen(policy_info['ScriptIni']['IniPath'], 'rb') as fhr:
|
||||
with salt.utils.files.fopen(policy_info['ScriptIni']['IniPath'], 'rb') as fhr:
|
||||
_existingData = fhr.read()
|
||||
if _existingData:
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue