]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Added check for emptyness where in_ is being used
authorSergey Belous <sbelous@mirantis.com>
Mon, 26 Jan 2015 14:11:53 +0000 (17:11 +0300)
committerSergey Belous <sbelous@mirantis.com>
Tue, 10 Mar 2015 08:31:29 +0000 (11:31 +0300)
commit949256d3f7149211bcc49b182cce8536a629fe0e
treec9cff03047cdddf2e9f6d2c3ae0ce070fb781e98
parentddb546443fe9805fae9fdc832327720c51426bed
Added check for emptyness where in_ is being used

All the Neutron code was scanned for places where in_ is being used
and added checks to ensure that the input is not an empty sequence.

Change-Id: I1e27f94ea350ce1dfabdd7eb14e4397ca29e8eb7
Closes-Bug:1264579
neutron/db/common_db_mixin.py
neutron/db/l3_agentschedulers_db.py
neutron/db/l3_dvr_db.py
neutron/db/l3_hamode_db.py
neutron/db/l3_hascheduler_db.py
neutron/plugins/cisco/db/n1kv_db_v2.py
neutron/plugins/ml2/drivers/type_vxlan.py