Fix use the fact that empty sequences are false
Bug #1265688 reported by
Liusheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
Liusheng |
Bug Description
For sequences(strings, lists, tuples), in order to consistent with pep8 recommendations, 'if len(seq)' should be replaced with 'if seq', and 'if not len(seq)' should be replaced with 'if not seq'.
Changed in ceilometer: | |
assignee: | nobody → Liusheng (liusheng) |
Changed in ceilometer: | |
importance: | Undecided → Critical |
importance: | Critical → Low |
Changed in ceilometer: | |
milestone: | none → icehouse-2 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/64768
Review: https:/