diff options
author | Steve Frécinaux <code@istique.net> | 2008-09-05 09:23:43 +0200 |
---|---|---|
committer | Steve Frécinaux <code@istique.net> | 2008-09-05 09:23:43 +0200 |
commit | 590638f9a56440a2c41cc04f52272ede04c06a43 (patch) | |
tree | fbef0d64b08db9d9e6b7c7f812b70c666243804c /lib/git/diff.py | |
parent | 8df638c22c75ddc9a43ecdde90c0c9939f5009e7 (diff) | |
download | gitpython-590638f9a56440a2c41cc04f52272ede04c06a43.tar.gz |
Fix unneeded dict unpacking.
Diffstat (limited to 'lib/git/diff.py')
-rw-r--r-- | lib/git/diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/diff.py b/lib/git/diff.py index 9285465a..51315fe3 100644 --- a/lib/git/diff.py +++ b/lib/git/diff.py @@ -20,11 +20,11 @@ class Diff(object): if not a_commit or re.search(r'^0{40}$', a_commit): self.a_commit = None else: - self.a_commit = commit.Commit(repo, **{'id': a_commit}) + self.a_commit = commit.Commit(repo, id=a_commit) if not b_commit or re.search(r'^0{40}$', b_commit): self.b_commit = None else: - self.b_commit = commit.Commit(repo, **{'id': b_commit}) + self.b_commit = commit.Commit(repo, id=b_commit) self.a_mode = a_mode self.b_mode = b_mode |