You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obviously this partial stack trace isn't from master, but the problem is still in master
if data in [None, ()]:
File "/usr/lib/python2.7/dist-packages/git/util.py", line 347, in eq
return self.name == other.name and self.email == other.email
AttributeError: 'NoneType' object has no attribute 'name'
eq should return false if the other item is None, a native Python type or type() !=
The text was updated successfully, but these errors were encountered:
Thanks for letting me know.
If I remember correctly though, I didn't put in any checks as to me this is not expected to work. It didn't seem worth slowing down equality comparisons for something that shouldn't happen in the first place.
Would you provide an example where such a comparison of heterogenous types is natural ?
Obviously this partial stack trace isn't from master, but the problem is still in master
File "/usr/lib/python2.7/dist-packages/git/util.py", line 347, in eq
return self.name == other.name and self.email == other.email
AttributeError: 'NoneType' object has no attribute 'name'
eq should return false if the other item is None, a native Python type or type() !=
The text was updated successfully, but these errors were encountered: