]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove unnecessary checks for MultipleResultsFound
authorEugene Nikanorov <enikanorov@mirantis.com>
Wed, 29 May 2013 08:38:29 +0000 (12:38 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Wed, 29 May 2013 09:20:21 +0000 (13:20 +0400)
commit3d0e0c554f22cc122c32d8dfa99509c9b432a62d
tree7d73b2e6fe2a6fa2dc472997e6a3687543b36aa6
parentc44d7f21d4d174a2019096a0b84506e8c803164a
Remove unnecessary checks for MultipleResultsFound

fixes bug 1185080

MultipleResultsFound exception is never thrown because model
queries are filtered by their primary key.

Change-Id: Id4a4ff84e134d3f1d177509193c4a14f830dfcc9
quantum/db/db_base_plugin_v2.py
quantum/db/l3_db.py
quantum/plugins/nec/db/nec_plugin_base.py