summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2015-05-27 15:52:54 -0400
committerMonty Taylor <mordred@inaugust.com>2015-05-27 15:52:54 -0400
commit9b98ee0e098cc33eb976a9d5e917d10a0ad7968c (patch)
tree9aeab8cf94b2bfb1b8d191df154c6df0566b0240
parent5c60aad725b0b98008ee467c5130931339c12d48 (diff)
downloados-client-config-9b98ee0e098cc33eb976a9d5e917d10a0ad7968c.tar.gz
Add inequality method
One method does not imply the other. Change-Id: Ifcd39ee188d88d9490f67b5644a941d4d1c6ec38
-rw-r--r--os_client_config/cloud_config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/os_client_config/cloud_config.py b/os_client_config/cloud_config.py
index d893b0b..347eb7c 100644
--- a/os_client_config/cloud_config.py
+++ b/os_client_config/cloud_config.py
@@ -36,3 +36,6 @@ class CloudConfig(object):
def __eq__(self, other):
return (self.name == other.name and self.region == other.region
and self.config == other.config)
+
+ def __ne__(self, other):
+ return not self == other