Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

update logic for newer PyYAML output for dump()#116

Merged
dirk-thomas merged 1 commit intokinetic-develfrom
dirk-thomas/support-newer-pyyaml
Jan 25, 2020
Merged

update logic for newer PyYAML output for dump()#116
dirk-thomas merged 1 commit intokinetic-develfrom
dirk-thomas/support-newer-pyyaml

Conversation

@dirk-thomas
Copy link
Copy Markdown
Member

Where older PyYAML dump(['', '']) calls returned:

['', '']\n

newer versions return:

- ''\n- ''\n

This patch makes the logic support both.

@dirk-thomas dirk-thomas requested a review from sloretz January 24, 2020 20:19
@dirk-thomas dirk-thomas self-assigned this Jan 24, 2020
Copy link
Copy Markdown
Contributor

@sloretz sloretz left a comment

Choose a reason for hiding this comment

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

Tests passed on my machine using pyyaml 3.13 and pyyaml 5.3 on Debian Buster.

@dirk-thomas dirk-thomas merged commit 916688a into kinetic-devel Jan 25, 2020
@dirk-thomas dirk-thomas deleted the dirk-thomas/support-newer-pyyaml branch January 25, 2020 00:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants