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
Using GitPython 0.3.1, I find myself often catching this exception :
File "/home/mike/.virtualenvs/qgb/lib/python2.6/site-packages/GitPython-0.3.1-py2.6.egg/git/objects/base.py", line 80, in __eq__
return self.binsha == other.binsha
AttributeError: 'NoneType' object has no attribute 'binsha'
It occurs when I try to compare a None object to a commit. I think this could be enhanced in objects/base.py by returning False if "other" has no 'binsha' attribute.
The text was updated successfully, but these errors were encountered:
Using GitPython 0.3.1, I find myself often catching this exception :
It occurs when I try to compare a None object to a commit. I think this could be enhanced in objects/base.py by returning False if "other" has no 'binsha' attribute.
The text was updated successfully, but these errors were encountered: