PEP8 glance cleanup
Bug #911547 reported by
Zhongyue Luo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
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 glance: | |
assignee: | nobody → LZY (lzyeval) |
summary: |
- PEP8 cleanup + PEP8 glance cleanup |
Changed in glance: | |
milestone: | none → essex-3 |
importance: | Undecided → Low |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/2770
Review: https:/