Merge "Add __ne__ built-in function"

This commit is contained in:
Jenkins 2016-09-21 11:33:55 +00:00 committed by Gerrit Code Review
commit 04ac956138
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ class _MistralModelBase(oslo_models.ModelBase, oslo_models.TimestampMixin):
return True
def __ne__(self, other):
return not self.__eq__(other)
def to_dict(self):
"""sqlalchemy based automatic to_dict method."""
d = {}