mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use yaml's safe_dump in windows ec2 tests
This commit is contained in:
parent
134f125b96
commit
67290eaff7
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class EC2Test(ShellCase):
|
|||
conf = yaml.safe_load(fp)
|
||||
conf[name].update(data)
|
||||
with salt.utils.files.fopen(conf_path, 'w') as fp:
|
||||
yaml.dump(conf, fp)
|
||||
salt.utils.yaml.safe_dump(conf, fp)
|
||||
|
||||
def copy_file(self, name):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue