From: Remi Gacogne Date: Thu, 24 Oct 2019 10:40:42 +0000 (+0200) Subject: changelog-from-pr: Capitalize the first letter without lowercasing the rest X-Git-Tag: rec-4.3.0-alpha2~12^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11dbb9760ad0b5029c5f6849a2dcb5bae2859b02;p=thirdparty%2Fpdns.git changelog-from-pr: Capitalize the first letter without lowercasing the rest --- diff --git a/build-scripts/changelog-from-pr.py b/build-scripts/changelog-from-pr.py index 7ae9584e7a..d28e3fe584 100755 --- a/build-scripts/changelog-from-pr.py +++ b/build-scripts/changelog-from-pr.py @@ -61,7 +61,7 @@ for pr in arguments.pullrequest: tickets = re.findall(ticket_regex, body) if len(tickets): out += ' :tickets: {}\n'.format(', '.join(tickets)) - out += '\n {}'.format(pr_info['title'].capitalize()) + out += '\n {}'.format(pr_info['title'][0].capitalize() + pr_info['title'][1:]) if pr_info['user']['login'].lower() not in ['ahupowerdns', 'habbie', 'pieterlexis', 'rgacogne',