Merge "Add __ne__() function for API Version object"

This commit is contained in:
Jenkins 2016-09-08 23:59:32 +00:00 committed by Gerrit Code Review
commit c2a101238a

View File

@ -110,3 +110,6 @@ class Version(object):
def __eq__(a, b):
return (a.major, a.minor) == (b.major, b.minor)
def __ne__(self, other):
return not self.__eq__(other)