Reviewed: https://review.openstack.org/104869 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e8e2392321e0fd3e2b8a0345b725f2e8df854a34 Submitter: Jenkins Branch: master
commit e8e2392321e0fd3e2b8a0345b725f2e8df854a34 Author: Christian Berendt <email address hidden> Date: Fri Jul 4 13:12:26 2014 +0200
Raise NotImplementedError instead of NotImplemented
NotImplementedError is the name of the exception (https://docs.python.org/2/library/exceptions.html).
NotImplemented is the name of a constant (https://docs.python.org/2/library/constants.html).
It makes no sense to raise a constant. The exception should be raised instead.
Change-Id: I4969e26eb7b46f008ea3c8bd0093490c425f7069 Closes-Bug: #1339855
Reviewed: https:/ /review. openstack. org/104869 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e8e2392321e 0fd3e2b8a0345b7 25f2e8df854a34
Committed: https:/
Submitter: Jenkins
Branch: master
commit e8e2392321e0fd3 e2b8a0345b725f2 e8df854a34
Author: Christian Berendt <email address hidden>
Date: Fri Jul 4 13:12:26 2014 +0200
Raise NotImplementedError instead of NotImplemented
NotImplemen tedError is the name of the exception /docs.python. org/2/library/ exceptions. html).
(https:/
NotImplemented is the name of a constant /docs.python. org/2/library/ constants. html).
(https:/
It makes no sense to raise a constant. The exception should
be raised instead.
Change-Id: I4969e26eb7b46f 008ea3c8bd00934 90c425f7069
Closes-Bug: #1339855