diff options
author | Florian Apolloner <florian@apolloner.eu> | 2008-09-05 22:24:13 +0200 |
---|---|---|
committer | Florian Apolloner <florian@apolloner.eu> | 2008-09-05 22:24:13 +0200 |
commit | 3131d1a5295508f583ae22788a1065144bec3cee (patch) | |
tree | 7b35b4b87dba41b417cdc4ce276c3f2af3fca7c3 /lib/git/repo.py | |
parent | 1adc79ac67e5eabaa8b8509150c59bc5bd3fd4e6 (diff) | |
parent | 590638f9a56440a2c41cc04f52272ede04c06a43 (diff) | |
download | gitpython-3131d1a5295508f583ae22788a1065144bec3cee.tar.gz |
Merge branch 'master' of git://gitorious.org/git-python/nud
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r-- | lib/git/repo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py index 8f5d4dca..0e52fab7 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -197,7 +197,7 @@ class Repo(object): other_repo_refs = other_repo.git.rev_list(other_ref).strip().splitlines() diff_refs = list(set(other_repo_refs) - set(repo_refs)) - return map(lambda ref: Commit.find_all(other_repo, ref, **{'max_count': 1}[0]), diff_refs) + return map(lambda ref: Commit.find_all(other_repo, ref, max_count=1)[0], diff_refs) def tree(self, treeish = 'master', paths = []): """ @@ -228,7 +228,7 @@ class Repo(object): Returns ``GitPython.Blob`` """ - return Blob(self, **{'id': id}) + return Blob(self, id=id) def log(self, commit = 'master', path = None, **kwargs): """ |