Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Closed
Description
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.binshaAttributeError: '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.
Metadata
Metadata
Assignees
Labels
No labels