8bacc9fccb
'Testing whether an object is 'None' using the == operator is inefficient and potentially incorrect.' Per https://lgtm.com/projects/g/KiCad/kicad-source-mirror/?mode=tree&ruleFocus=7900090