diff options
author | Rob Cresswell <robert.cresswell@outlook.com> | 2017-01-04 14:35:06 +0000 |
---|---|---|
committer | Rob Cresswell <robert.cresswell@outlook.com> | 2017-01-04 18:14:41 +0000 |
commit | de271ae7574289ce162208b655e219e59f33ce60 (patch) | |
tree | 407f93f3762ef001e657db8eb58db2028b7d8136 /heatclient/common/base.py | |
parent | 87b03ceac619202a2bca8cc96355f91106112e84 (diff) | |
download | python-heatclient-de271ae7574289ce162208b655e219e59f33ce60.tar.gz |
Remove LOG Warning from __eq__
This causes a huge amount of spam on anything that does an equality
check, like tests. We should just remove it.
Change-Id: Ibb1a2132ab784ae357d965bd0997f419be568651
Closes-Bug: 1653975
Diffstat (limited to 'heatclient/common/base.py')
-rw-r--r-- | heatclient/common/base.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/heatclient/common/base.py b/heatclient/common/base.py index 902b86b..f631603 100644 --- a/heatclient/common/base.py +++ b/heatclient/common/base.py @@ -21,7 +21,6 @@ Base utilities to build API operation managers and objects on top of. """ import abc import copy -import logging from oslo_utils import reflection from oslo_utils import strutils @@ -29,11 +28,8 @@ import six from six.moves.urllib import parse from heatclient._i18n import _ -from heatclient._i18n import _LW from heatclient import exc as exceptions -LOG = logging.getLogger(__name__) - def getid(obj): """Return id if argument is a Resource. @@ -497,10 +493,6 @@ class Resource(object): # two resources of different types are not equal if not isinstance(other, self.__class__): return False - LOG.warning(_LW("Two objects are equal when all of the attributes are " - "equal, if you want to identify whether two objects " - "are same one with same id, please use is_same_obj() " - "function.")) return self._info == other._info def __ne__(self, other): |