summaryrefslogtreecommitdiff
path: root/gbp/scripts/dch.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/dch.py')
-rw-r--r--gbp/scripts/dch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py
index ba96631..6d88ea6 100644
--- a/gbp/scripts/dch.py
+++ b/gbp/scripts/dch.py
@@ -249,8 +249,8 @@ def do_snapshot(changelog, repo, next_snapshot):
def parse_commit(repo, commitid, opts, last_commit=False):
"""Parse a commit and return message, author, and author email"""
commit_info = repo.get_commit_info(commitid)
- author = commit_info['author']
- email = commit_info['email']
+ author = commit_info['author'].name
+ email = commit_info['author'].email
format_entry = user_customizations.get('format_changelog_entry')
if not format_entry:
format_entry = dch.format_changelog_entry