summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-30 17:54:13 +0000
committerGerrit Code Review <review@openstack.org>2016-11-30 17:54:13 +0000
commit6774f9781d346ad6b2e362a8a438f46f367dfa2b (patch)
tree090ff7c4b804abd4468bcb042736d705937ad572
parent05309c4dad0cd984f00bfe3b83393043223cb5b9 (diff)
parenta68d6df9303570aaf035937e0938b87e140b8187 (diff)
Merge "Add __ne__ built-in function"
-rw-r--r--os_apply_config/oac_file.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/os_apply_config/oac_file.py b/os_apply_config/oac_file.py
index c09b6e0..0a39059 100644
--- a/os_apply_config/oac_file.py
+++ b/os_apply_config/oac_file.py
@@ -47,6 +47,9 @@ class OacFile(object):
47 return self.__dict__ == other.__dict__ 47 return self.__dict__ == other.__dict__
48 return False 48 return False
49 49
50 def __ne__(self, other):
51 return not self.__eq__(other)
52
50 def __repr__(self): 53 def __repr__(self):
51 a = ["OacFile(%s" % repr(self.body)] 54 a = ["OacFile(%s" % repr(self.body)]
52 for key, default in six.iteritems(self.DEFAULTS): 55 for key, default in six.iteritems(self.DEFAULTS):