Don't compare pyaccess in __eq__

This commit is contained in:
hugovk 2014-04-26 21:23:45 +03:00
parent a7d21dec15
commit f1cc194955

View File

@ -570,9 +570,8 @@ class Image:
d = (self.info == other.info)
e = (self.category == other.category)
f = (self.readonly == other.readonly)
g = (self.pyaccess == other.pyaccess)
h = (self.tobytes() == other.tobytes())
return a and b and c and d and e and f and g and h
g = (self.tobytes() == other.tobytes())
return a and b and c and d and e and f and g
def __ne__(self, other):
eq = (self == other)