PEP8 keystone cleanup
Bug #911563 reported by
Zhongyue Luo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Zhongyue Luo |
Bug Description
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.
Changed in keystone: | |
assignee: | nobody → LZY (lzyeval) |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | none → essex-3 |
Changed in keystone: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
https:/ /review. openstack. org/#change, 2776