vmware-nsx/neutron/plugins/vmware/dhcp_meta
Angus Lees 1168e8087e 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
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
combined.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
constants.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
lsnmanager.py Purge use of "PRED and A or B" poor-mans-ternary 2014-11-08 00:17:12 +11:00
migration.py NSX: do not raise on missing router during migration step 2014-05-19 14:50:56 +00:00
nsx.py NSX: ensure that no LSN is created on external networks 2014-05-07 08:10:30 -07:00
rpc.py Make DhcpRpcCallback a separate callback class 2014-08-28 14:25:32 +00:00