Misuse of the "not in" python syntax
Bug #1110058 reported by
Zhongyue Luo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Zhongyue Luo |
Bug Description
There are some lines in the code which uses "if not X is Y"
It should be fixed to "if X is not Y"
ML discussion held at http://
Changed in quantum: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
Changed in quantum: | |
status: | New → In Progress |
tags: | added: quantum-core |
Changed in quantum: | |
status: | In Progress → Invalid |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | grizzly-3 → 2013.1 |
To post a comment you must log in.
Can you please clarify the description of this bug? The two statements listed are logically equivalent, and there is no project documentation (say, in HACKING.rst) that requires one or the other.