Object inequality evaluation syntax nits
Bug #1110987 reported by
Zhongyue Luo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Zhongyue Luo |
Bug Description
There are some lines in cinder where instead of "if X is not Y", it uses "if not X is Y"
Since "is not" seems to be the consensus and is more intuitive, object inequality evaluations should use "is not"
$ grep -R " not " cinder | grep " is " | grep -v " is not " | grep -E ":\W*if" |wc -l
6
$ grep -R " not " cinder | grep " is " | grep -E ":\W*if" |wc -l
108
description: | updated |
Changed in cinder: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | grizzly-3 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/20866
Review: https:/