Merge "Add __ne__ built-in function"
This commit is contained in:
commit
6774f9781d
|
@ -47,6 +47,9 @@ class OacFile(object):
|
||||||
return self.__dict__ == other.__dict__
|
return self.__dict__ == other.__dict__
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
def __ne__(self, other):
|
||||||
|
return not self.__eq__(other)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
a = ["OacFile(%s" % repr(self.body)]
|
a = ["OacFile(%s" % repr(self.body)]
|
||||||
for key, default in six.iteritems(self.DEFAULTS):
|
for key, default in six.iteritems(self.DEFAULTS):
|
||||||
|
|
Loading…
Reference in New Issue