From 3e45a68371a59578836b543ba043082324ee389e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Thu, 3 Mar 2011 16:20:35 +0100 Subject: [PATCH] Add missing closure to the Commit.tree getseter --- pygit2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygit2.c b/pygit2.c index 4bf7150..6fcf662 100644 --- a/pygit2.c +++ b/pygit2.c @@ -766,7 +766,7 @@ static PyGetSetDef Commit_getseters[] = { (setter)Commit_set_committer, "committer", NULL}, {"author", (getter)Commit_get_author, (setter)Commit_set_author, "author", NULL}, - {"tree", (getter)Commit_get_tree, NULL, "tree object"}, + {"tree", (getter)Commit_get_tree, NULL, "tree object", NULL}, {NULL} };