-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError trying to modify comment with yaml_add_eol_comment #32
Comments
PRs are welcomed! |
I looked into it when trying to reproduce it, but I'm no where near familiar enough with the code to understand what's going on, let along know what needs to be done to fix this I'm afraid... |
tompaton
added a commit
to tompaton/ruyaml
that referenced
this issue
Dec 30, 2020
I think I managed to fix this issue in PR #35 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using version ruyaml==0.19.2 (issue also occurred with master).
Generate a test file:
Read the file and add a comment, this works as expected:
But if I read that file back in and try to change the comment, there is an error:
Note, this works ok with a simpler input file, e.g.:
The text was updated successfully, but these errors were encountered: