neutron/neutron/plugins/vmware/vshield
Angus Lees ea27c8a162 Purge use of "PRED and A or B" poor-mans-ternary
Since python2.6, python has a proper ternary construct "A if PRED else
B".  The older idiom "PRED and A or B" has a hidden trap - when A is
itself false, the result is (unexpectedly) B.

This change removes all cases of the older construct found using a
trivial git grep " and .* or " - except one case in oslo common
code (fixed in oslo upstream).

Change-Id: I24461f4328e188c8983ad574495e11e033ec5ba4
2014-11-08 00:17:12 +11:00
..
common Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
tasks Remove the translation tag for debug level logs in vmware plugin 2014-09-23 08:13:46 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
edge_appliance_driver.py Remove duplicate import of constants module 2014-10-21 16:03:22 +11:00
edge_firewall_driver.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
edge_ipsecvpn_driver.py Use save_and_reraise_exception when reraise exception 2014-03-21 21:31:55 +09:00
edge_loadbalancer_driver.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
vcns.py Purge use of "PRED and A or B" poor-mans-ternary 2014-11-08 00:17:12 +11:00
vcns_driver.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00