[mythtv-commits] [MythTV/mythtv] 0a732e: Compare literals using '!=' not 'is not'
Gary Buhrmaster
noreply at github.com
Tue Jul 20 17:53:13 UTC 2021
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 0a732ebb49ed7cf125bdef8b56ab544c0d39aa09
https://github.com/MythTV/mythtv/commit/0a732ebb49ed7cf125bdef8b56ab544c0d39aa09
Author: Gary Buhrmaster <gary.buhrmaster at gmail.com>
Date: 2021-07-20 (Tue, 20 Jul 2021)
Changed paths:
M mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/data_mythtv.py
Log Message:
-----------
Compare literals using '!=' not 'is not'
With Python 3.8 a syntax warning is now generated during
compilation when one is using 'is' or 'is not' to compare
to certain types of literals, as such use is not assured
to work properly to work with all interpreters. This
syntax warning was a result of issue bpo-34850.
Fixes #370
More information about the mythtv-commits
mailing list