summaryrefslogtreecommitdiff
path: root/gbp/dch.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/dch.py')
-rw-r--r--gbp/dch.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/gbp/dch.py b/gbp/dch.py
index dc0149c..f983234 100644
--- a/gbp/dch.py
+++ b/gbp/dch.py
@@ -115,8 +115,11 @@ def format_changelog_entry(commit_info, options, last_commit=False):
if options.idlen:
entry[0] = '[%s] ' % commitid[0:options.idlen] + entry[0]
- (bts_cmds, body) = extract_bts_cmds(body, options)
- (thanks, body) = extract_thanks_info(body, options)
+ bts_cmds = {}
+ thanks = []
+ if options.meta:
+ (bts_cmds, body) = extract_bts_cmds(body, options)
+ (thanks, body) = extract_thanks_info(body, options)
body = filter_ignore_rx_matches(body, options)
if 'full' in git_dch_cmds or (options.full and not 'short' in git_dch_cmds):