Skip to content
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

Fix data loss when a root key contains another root key #52

Merged
merged 1 commit into from
Jan 23, 2020
Merged

Fix data loss when a root key contains another root key #52

merged 1 commit into from
Jan 23, 2020

Conversation

getaarond
Copy link
Contributor

@getaarond getaarond commented Jul 18, 2019

Summary

Fix the issue where a root key is lost if another root key contains it.

How to Verify

New test in test_flatten.py: test_unflatten_with_key_loss_issue51

Side Effects

No.

Resolves

Fixes #51

Tests

New test in test_flatten.py: test_unflatten_with_key_loss_issue51
All tests pass.

Code Reviewer(s)

@amirziai

@amirziai
Copy link
Owner

amirziai commented Oct 5, 2019

@getaarond thanks for the PR, do you mind checking why the travis build is failing?

@getaarond
Copy link
Contributor Author

@getaarond thanks for the PR, do you mind checking why the travis build is failing?

@amirziai it's a Python 3 import error that is unrelated to my changes. See here. Another PR is failing with the same issue. There are 2 more failing PRs with errors downloading the Python 3 binary for Ubuntu 16.04. See here and here.

@rorosentrater
Copy link

rorosentrater commented Oct 21, 2019

This code fixed an issue for me. Can we merge now that the tests are passing?

@getaarond
Copy link
Contributor Author

@amirziai mind if we merge this?

@amirziai amirziai merged commit dcf0078 into amirziai:master Jan 23, 2020
@getaarond getaarond deleted the fix-key-loss branch January 23, 2020 23:03
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.

Data is lost when a root key contains another root key
3 participants