1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 21:29:43 +00:00

migrate from PyYAML to ruamel.yaml

This commit is contained in:
deadc0de6
2019-06-06 17:11:13 +02:00
parent cd722e6eb1
commit d008e6a895
11 changed files with 71 additions and 76 deletions

View File

@@ -13,7 +13,7 @@ usage example:
from docopt import docopt
import sys
import os
import yaml
from ruamel.yaml import YAML as yaml
USAGE = """
change-link.py
@@ -42,7 +42,7 @@ def main():
ignores = args['--ignore']
with open(path, 'r') as f:
content = yaml.safe_load(f)
content = yaml(typ='safe').load(f)
for k, v in content[key].items():
if k in ignores:
continue