Comment 12 for bug 1339855

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/367735
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=2a662465361e31dbf230d597182f9f7fd8b61183
Submitter: Jenkins
Branch: master

commit 2a662465361e31dbf230d597182f9f7fd8b61183
Author: Ji-Wei <email address hidden>
Date: Fri Sep 9 13:06:26 2016 +0800

    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).
    >>> raise NotImplemented()
    Traceback (most recent call last):
      File "<pyshell#0>", line 1, in <module>
        raise NotImplemented()
    TypeError: 'NotImplementedType' object is not callable
    >>> raise NotImplementedError()
    Traceback (most recent call last):
      File "<pyshell#1>", line 1, in <module>
        raise NotImplementedError()
    NotImplementedError
    This patch fix it.

    Change-Id: I939eaa4b4b7c574f7a6447725e3a6ad5b128f1b7
    Closes-Bug: #1339855