Merge "Add __ne__ built-in function"

This commit is contained in:
Jenkins 2016-09-07 09:11:08 +00:00 committed by Gerrit Code Review
commit f6e49646ec
1 changed files with 3 additions and 0 deletions

View File

@ -27,3 +27,6 @@ class AuthDetails(object):
self.groups == other.groups and
self.user_id == other.user_id and
self.project_id == other.project_id)
def __ne__(self, other):
return not self.__eq__(other)