Skip to content

Revert file mode write_json#16897

Merged
balloob merged 1 commit intodevfrom
revert-storage-private-mode
Sep 26, 2018
Merged

Revert file mode write_json#16897
balloob merged 1 commit intodevfrom
revert-storage-private-mode

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Sep 26, 2018

Description:

The change in #16878 caused two writes to the file being mixed up and not being valid JSON, breaking Home Assistant.

It's something with a file handlers that are getting mixed up. I was unable to fix it quickly (was playing with doing os.write and os.close) so going to revert the writing part. Will leave the private boolean passing so that a proper solution can be re-applied.

Related issue (if applicable): fixes #16878

@balloob balloob requested a review from a team as a code owner September 26, 2018 15:58
@homeassistant homeassistant added core small-pr PRs with less than 30 lines. cla-signed labels Sep 26, 2018
@ghost ghost assigned balloob Sep 26, 2018
@ghost ghost added the in progress label Sep 26, 2018
@balloob balloob merged commit d0ddc28 into dev Sep 26, 2018
@ghost ghost removed the in progress label Sep 26, 2018
@balloob balloob deleted the revert-storage-private-mode branch September 26, 2018 15:58
@balloob balloob mentioned this pull request Sep 26, 2018
7 tasks
@amelchio amelchio mentioned this pull request Sep 26, 2018
3 tasks
@balloob balloob mentioned this pull request Oct 12, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed core small-pr PRs with less than 30 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants