Raise NotImplementedError, not NotImplemented singleton
NotImplementedError is for exceptions, NotImplemented is an error singleton Change-Id: I2bc42783c5bb92a32d7c3b0f5efab32a2e2f8fb6
This commit is contained in:
parent
98e412b027
commit
9d76b6f9f7
|
@ -28,7 +28,7 @@ class BaseHostFilter(object):
|
|||
"""Base class for host filters."""
|
||||
|
||||
def host_passes(self, host_state, filter_properties):
|
||||
raise NotImplemented()
|
||||
raise NotImplementedError()
|
||||
|
||||
def _full_name(self):
|
||||
"""module.classname of the filter."""
|
||||
|
|
Loading…
Reference in New Issue