]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix incorrect NotImplementedError
authorZhiQiang Fan <aji.zqfan@gmail.com>
Fri, 6 Sep 2013 05:27:19 +0000 (13:27 +0800)
committerZhiQiang Fan <aji.zqfan@gmail.com>
Fri, 6 Sep 2013 09:12:04 +0000 (17:12 +0800)
commit0739b2fe827b3beefb5ad81c063cbc4d00525a9d
tree7d48cce131571b9cec13ae647f754667d41199cc
parent1a25274e7acdb80993cff1974fbcdfb64dc26d24
Fix incorrect NotImplementedError

neutron.common.exceptions doesn't define NotImplementedError, but
some codes still use it. We should use builtin
exceptions.NotImplementedError instead.

Note: this patch also fixes a never run code in nvp.

Closes-Bug: #1221500
Change-Id: I5f367ab5edc1e7fbbc2e4eba5fe36d148d4d062d
neutron/extensions/l3.py
neutron/plugins/nicira/NeutronPlugin.py
neutron/tests/unit/nicira/test_nicira_plugin.py