import pygit2 works again (diff tests still fail)

This commit is contained in:
J. David Ibáñez 2012-09-23 15:12:46 +02:00
parent a1edbe0b86
commit 3e9daa4ae3

@ -49,7 +49,7 @@ TreeEntry_dealloc(TreeEntry *self)
PyObject *
TreeEntry_get_attributes(TreeEntry *self)
{
return PyInt_FromLong(git_tree_entry_attributes(self->entry));
return PyInt_FromLong(git_tree_entry_filemode(self->entry));
}
PyObject *