diff --git a/heatclient/openstack/common/apiclient/base.py b/heatclient/openstack/common/apiclient/base.py index 8251e4fe..0a99ab2a 100644 --- a/heatclient/openstack/common/apiclient/base.py +++ b/heatclient/openstack/common/apiclient/base.py @@ -529,6 +529,9 @@ class Resource(object): "function.")) return self._info == other._info + def __ne__(self, other): + return not self.__eq__(other) + def is_same_obj(self, other): """Identify the two objects are same one with same id.""" if isinstance(other, self.__class__):