diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-11-20 17:53:46 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-11-20 18:07:22 +0100 |
commit | 4aa178022def247834f7ecfc45b5defbe9270d09 (patch) | |
tree | 8097312404aeb6e2816da0a95290bc1be6f70f8e /examples | |
parent | d616dd152f1e30a58db176826d8c5d05612ef5e9 (diff) | |
download | git-buildpackage-4aa178022def247834f7ecfc45b5defbe9270d09.tar.gz git-buildpackage-4aa178022def247834f7ecfc45b5defbe9270d09.tar.bz2 git-buildpackage-4aa178022def247834f7ecfc45b5defbe9270d09.zip |
GitRepository: Return GitModifier from get_author_info
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gbp-add-patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gbp-add-patch b/examples/gbp-add-patch index 8a10eb5d..059ac9ca 100755 --- a/examples/gbp-add-patch +++ b/examples/gbp-add-patch @@ -94,8 +94,8 @@ def build_commit_msg(repo, patch, options): thanks = '' closes = '' - author, dummy = repo.get_author_info() - if author != patch.author_name(): + author = repo.get_author_info() + if author.name != patch.author_name(): thanks = "Thanks: %s" % patch.author_name() for line in patch.body.split('\n'): |