Skip to content

Commit

Permalink
Merge pull request #662 from drdavella/fix-pyyaml-update
Browse files Browse the repository at this point in the history
Update to fix test failures caused by update to pyyaml-5.1
  • Loading branch information
drdavella committed Mar 15, 2019
2 parents b98f6c1 + 1e854bc commit c5a5c6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions asdf/yamlutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ class AsdfDumper(_yaml_base_dumper):
A specialized YAML dumper that understands "tagged basic Python
data types" as implemented in the `tagged` module.
"""

def __init__(self, *args, **kwargs):
kwargs['default_flow_style'] = None
super().__init__(*args, **kwargs)

def represent_data(self, data):
node = super(AsdfDumper, self).represent_data(data)

Expand Down

0 comments on commit c5a5c6f

Please sign in to comment.