Merge "Add __ne__ built-in function"

This commit is contained in:
Jenkins 2016-11-30 17:54:13 +00:00 committed by Gerrit Code Review
commit 6774f9781d
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ class OacFile(object):
return self.__dict__ == other.__dict__
return False
def __ne__(self, other):
return not self.__eq__(other)
def __repr__(self):
a = ["OacFile(%s" % repr(self.body)]
for key, default in six.iteritems(self.DEFAULTS):