summaryrefslogtreecommitdiff
path: root/lib/git/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/tree.py')
-rw-r--r--lib/git/tree.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/git/tree.py b/lib/git/tree.py
index db4a3e22..597668ae 100644
--- a/lib/git/tree.py
+++ b/lib/git/tree.py
@@ -47,11 +47,11 @@ class Tree(base.IndexObject):
return None
if typ == "tree":
- return Tree(repo, id=id, mode=mode, path=path)
+ return Tree(repo, id, mode, path)
elif typ == "blob":
- return blob.Blob(repo, id=id, mode=mode, path=path)
+ return blob.Blob(repo, id, mode, path)
elif typ == "commit":
- return None
+ return None
else:
raise(TypeError, "Invalid type: %s" % typ)