saltstack/salt — Issue #480: PEP8 clean-up
Author: lzyeval
Created: 2012-01-11 00:08:27+00:00
State: open

The None, True, and False values are singletons.

All variable *comparisons* to singletons should use 'is' or 'is not'.
All variable *evaluations* to boolean should use 'if' or 'if not'.
All Object type comparisons should use isinstance() instead of comparing types directly.