From: Pieter Lexis Date: Fri, 16 Feb 2018 15:19:18 +0000 (+0100) Subject: changelog-from-pr.py: Fix output indenting X-Git-Tag: dnsdist-1.3.0~86^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e7a13658b31bc823575cdc4e741bfacbc3db951;p=pdns changelog-from-pr.py: Fix output indenting --- diff --git a/build-scripts/changelog-from-pr.py b/build-scripts/changelog-from-pr.py index 6b96d49c3..ba6e681d6 100755 --- a/build-scripts/changelog-from-pr.py +++ b/build-scripts/changelog-from-pr.py @@ -32,12 +32,12 @@ for pr in arguments.pullrequest: ) else: out += ' .. change::\n' + \ - ' :tags: XXXXXX\n' + \ - ' :pullreq: {}\n'.format(pr) + ' :tags: XXXXXX\n' + \ + ' :pullreq: {}\n'.format(pr) tickets = re.findall(ticket_regex, pr_info['body']) if len(tickets): - out += ' :tickets: {}\n'.format(', '.join(tickets)) - out += '\n {}'.format(pr_info['title'].capitalize()) + out += ' :tickets: {}\n'.format(', '.join(tickets)) + out += '\n {}'.format(pr_info['title'].capitalize()) if pr_info['user']['login'].lower() not in ['ahupowerdns', 'habbie', 'pieterlexis', 'rgacogne',