Write an object to a yaml file
(data, file)
| 44 | return True |
| 45 | |
| 46 | def write_yaml_file(data, file): |
| 47 | """Write an object to a yaml file""" |
| 48 | with open(file, 'w+', encoding='utf-8') as f: |
| 49 | yaml.dump(data, f, sort_keys=False, Dumper=NoAliasDumper) |
| 50 | |
| 51 | |
| 52 | def log(msg, path, verbose=True, log_file='upgrade.log', end="\n"): |
no outgoing calls
no test coverage detected