Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 3588ec097981d18b231309684692a07dc02f6f07
https://github.com/MythTV/mythtv/commit/3588ec097981d18b231309684692a07dc02f6f07
Author: Eli Schwartz <eschwartz93@gmail.com>
Date: 2024-01-08 (Mon, 08 Jan 2024)
Changed paths:
M mythtv/programs/scripts/metadata/Music/lyrics/genius.py
M mythtv/programs/scripts/metadata/Music/lyrics/lyricswiki.py
Log Message:
-----------
metadata/Music: remove unused external dependency on simplejson
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.
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits
Home: https://github.com/MythTV/mythtv
Commit: 3588ec097981d18b231309684692a07dc02f6f07
https://github.com/MythTV/mythtv/commit/3588ec097981d18b231309684692a07dc02f6f07
Author: Eli Schwartz <eschwartz93@gmail.com>
Date: 2024-01-08 (Mon, 08 Jan 2024)
Changed paths:
M mythtv/programs/scripts/metadata/Music/lyrics/genius.py
M mythtv/programs/scripts/metadata/Music/lyrics/lyricswiki.py
Log Message:
-----------
metadata/Music: remove unused external dependency on simplejson
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.
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits