summaryrefslogtreecommitdiff
path: root/lib/git/head.py
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2008-09-05 09:23:43 +0200
committerSteve Frécinaux <code@istique.net>2008-09-05 09:23:43 +0200
commit590638f9a56440a2c41cc04f52272ede04c06a43 (patch)
treefbef0d64b08db9d9e6b7c7f812b70c666243804c /lib/git/head.py
parent8df638c22c75ddc9a43ecdde90c0c9939f5009e7 (diff)
downloadgitpython-590638f9a56440a2c41cc04f52272ede04c06a43.tar.gz
Fix unneeded dict unpacking.
Diffstat (limited to 'lib/git/head.py')
-rw-r--r--lib/git/head.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/head.py b/lib/git/head.py
index 9a5d2fd4..96d35010 100644
--- a/lib/git/head.py
+++ b/lib/git/head.py
@@ -105,7 +105,7 @@ class Head(object):
"""
full_name, ids = line.split("\x00")
name = full_name.split("/")[-1]
- c = commit.Commit(repo, **{'id': ids})
+ c = commit.Commit(repo, id=ids)
return Head(name, c)
def __repr__(self):