Skip to content

Commit

Permalink
workaround for #4281
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Trifirò authored and skshetry committed Aug 12, 2020
1 parent 12c7013 commit afa4510
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dvc/utils/yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def parse_yaml_for_update(text, path):
def dump_yaml(path, data):
with open(path, "w", encoding="utf-8") as fd:
yaml = YAML()
yaml.version = (1, 1) # Workaround for #4281
yaml.default_flow_style = False
# tell Dumper to represent OrderedDict as
# normal dict
Expand Down

0 comments on commit afa4510

Please sign in to comment.