Red Hat Bugzilla – Bug 688993
Make comparisons to None (singleton) done with 'is' and 'is not'
Last modified: 2012-01-24 20:35:43 EST
Description of problem: This is a trivial patch to make comparisons to
None done with 'is'/'is not' instead of '=='/'!=' on the advice in
- Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators.
Version-Release number of selected component (if applicable):
I made a pathc for git HEAD but I guess it should be applicable to
the versions of python-virtinst in fedora-14/15.
Moved to upstream virtinst tracker. I'd be interested in seeing the patch
Closing since no patch provided and not really something that needs tracking in bugzilla.