Reviewed: https://review.openstack.org/105859 Committed: https://git.openstack.org/cgit/stackforge/cloudcafe/commit/?id=dfe834bb9bbb394ad771d2f89f63179c534bf7a5 Submitter: Jenkins Branch: master
commit dfe834bb9bbb394ad771d2f89f63179c534bf7a5 Author: Christian Berendt <email address hidden> Date: Wed Jul 9 21:58:34 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: I369b47dac60106f96aed9d044f8b510afd09d266 Closes-Bug: #1339855
Reviewed: https:/ /review. openstack. org/105859 /git.openstack. org/cgit/ stackforge/ cloudcafe/ commit/ ?id=dfe834bb9bb b394ad771d2f89f 63179c534bf7a5
Committed: https:/
Submitter: Jenkins
Branch: master
commit dfe834bb9bbb394 ad771d2f89f6317 9c534bf7a5
Author: Christian Berendt <email address hidden>
Date: Wed Jul 9 21:58:34 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: I369b47dac60106 f96aed9d044f8b5 10afd09d266
Closes-Bug: #1339855