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

metadata/Music: remove unused external dependency on simplejson #837

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

eli-schwartz
Copy link
Contributor

The simplejson module was added to the python standard library in 2.6; here, it is inconsistently imported for python 2.6 (where it already exists) and lower (where it does not) instead of using json.

But, mythtv only supports python 3.8 for a while now. So this conditional is merely dead code. The import name is still aliased using as simplejson, though, which is bad for visibility and analysis.

Part of #824

The simplejson module was added to the python standard library in 2.6;
here, it is inconsistently imported for python 2.6 (where it already
exists) and lower (where it does not) instead of using `json`.

But, mythtv only supports python 3.8 for a while now. So this
conditional is merely dead code. The import name is still aliased using
`as simplejson`, though, which is bad for visibility and analysis.
@rcrdnalor rcrdnalor merged commit 3588ec0 into MythTV:master Jan 8, 2024
8 checks passed
@eli-schwartz eli-schwartz deleted the metadata-music-simplejson branch January 8, 2024 19:24
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.

2 participants