Skip to content

Allow our custom yaml dumper to NamespacedDictWrapper objects - #49408

Merged
cachedout merged 1 commit into
saltstack:2017.7from
terminalmage:issue49269
Aug 29, 2018
Merged

cachedout merged 1 commit into
saltstack:2017.7from
terminalmage:issue49269

Conversation

@terminalmage

Copy link
Copy Markdown
Contributor

This special dict class did not have a representer assigned to it, so PyYAML would raise an exception when attempting to dump it.

This also removes the class name overriding, as its implementation was ill-conceived and will be deprecated in a later branch (it's only used in this one place so deprecating should be of no-to-minimal impact).

This special dict class did not have a representer assigned to it, so
PyYAML would raise an exception when attempting to dump it.

This also removes the name overriding, as its implementation was
ill-conceived and will be deprecated in a later branch (it's only used
in this one place so deprecating should be of no-to-minimal impact).
@terminalmage
terminalmage requested a review from a team as a code owner August 29, 2018 19:44
@ghost
ghost self-requested a review August 29, 2018 19:44

@rallytime rallytime left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@rallytime

Copy link
Copy Markdown
Contributor

@terminalmage This fixes #49269, yeah?

@terminalmage

Copy link
Copy Markdown
Contributor Author

@rallytime that is correct

@cachedout
cachedout merged commit 24faa5e into saltstack:2017.7 Aug 29, 2018
@terminalmage
terminalmage deleted the issue49269 branch September 10, 2018 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants