summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-10-30 08:09:29 -0600
committerCharles Harris <charlesr.harris@gmail.com>2020-10-30 08:09:29 -0600
commitd5441eee24753fe8de829b10cbdc88b32ea04213 (patch)
treea14c5d1f59ab17eb3b11336f6ce3d39c02fcfb05
parentf7518be6309a661085ec1f87f0db7b3fe23ba240 (diff)
downloadnumpy-d5441eee24753fe8de829b10cbdc88b32ea04213.tar.gz
STY: Minor style fixups to changelog.py
-rwxr-xr-xtools/changelog.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/changelog.py b/tools/changelog.py
index 92f33af24..920f5b87f 100755
--- a/tools/changelog.py
+++ b/tools/changelog.py
@@ -45,16 +45,17 @@ if sys.version_info[:2] < (3, 6):
this_repo = Repo(os.path.join(os.path.dirname(__file__), ".."))
author_msg =\
-u"""
+"""
A total of %d people contributed to this release. People with a "+" by their
names contributed a patch for the first time.
"""
pull_request_msg =\
-u"""
+"""
A total of %d pull requests were merged for this release.
"""
+
def get_authors(revision_range):
pat = u'^.*\\t(.*)$'
lst_release, cur_release = [r.strip() for r in revision_range.split('..')]