mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Just change serialize
This commit is contained in:
parent
a111798e8e
commit
a22170627c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def deserialize(stream_or_string, **options):
|
|||
:param options: options given to lower yaml module.
|
||||
"""
|
||||
|
||||
options.setdefault('Loader', Loader)
|
||||
options.setdefault('Loader', BaseLoader)
|
||||
try:
|
||||
return yaml.load(stream_or_string, **options)
|
||||
except ScannerError as error:
|
||||
|
|
Loading…
Add table
Reference in a new issue