diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-05-04 16:16:02 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-05-04 16:16:02 +0200 |
commit | ea489846711302f8d283c879f7d7885999a2a06e (patch) | |
tree | 7ff05951ca526262483f154f53f0baa091d28dc6 /gbp | |
parent | e3f187ab280c72bbaf58008fb78cbb3f185056da (diff) |
yield the commit message
instead of passing it back as a whole
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/git_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/git_utils.py b/gbp/git_utils.py index 21823f7..5f6158c 100644 --- a/gbp/git_utils.py +++ b/gbp/git_utils.py @@ -108,7 +108,8 @@ class GitRepository(object): commit, ret = self.__git_getoutput('show', [ id ]) if ret: raise GitRepositoryError, "can't get %s" % id - return commit + for line in commit: + yield line def write_tree(self): """write out the current index, return the SHA1""" |