Reviewed: https://review.openstack.org/105858 Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=9376d43da8781cade8eb96a2d51e1c49dcc4c863 Submitter: Jenkins Branch: master
commit 9376d43da8781cade8eb96a2d51e1c49dcc4c863 Author: Christian Berendt <email address hidden> Date: Wed Jul 9 21:56:22 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: I47efa6db2484757022d5f0601719d4ea4c78417d Closes-Bug: #1339855
Reviewed: https:/ /review. openstack. org/105858 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=9376d43da87 81cade8eb96a2d5 1e1c49dcc4c863
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9376d43da8781ca de8eb96a2d51e1c 49dcc4c863
Author: Christian Berendt <email address hidden>
Date: Wed Jul 9 21:56:22 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: I47efa6db248475 7022d5f0601719d 4ea4c78417d
Closes-Bug: #1339855