PEP8 swift cleanup
Bug #911579 reported by
Zhongyue Luo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
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 swift: | |
assignee: | nobody → LZY (lzyeval) |
Changed in swift: | |
milestone: | none → 1.4.6 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /review. openstack. org/#change, 2777