Opened 11 months ago

#13343 new Patch - Bug Fix

GitHub: PR 175 Compare to `None` using identity `is` operator

Reported by: janisozaur Owned by:
Priority: minor Milestone: needs_triage
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no


This is a trivial change that replaces == operator with is operator, following PEP 8 guideline:

Comparisons to singletons like None should always be done with is or is not, never the equality operators.

Change History (0)

Note: See TracTickets for help on using tickets.