aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/maint/format_changelog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/maint/format_changelog.py b/scripts/maint/format_changelog.py
index 398e7ea611..b1a0988766 100755
--- a/scripts/maint/format_changelog.py
+++ b/scripts/maint/format_changelog.py
@@ -321,12 +321,12 @@ class ChangeLog(object):
s = sectionsByHead[head]
except KeyError:
s = sectionsByHead[head] = []
- heads.append( (head_score(head), head, s) )
+ heads.append( (head_score(head), head.lower(), head, s) )
s.extend(items)
heads.sort()
- self.sections = [ (0, head, items) for _,head,items in heads ]
+ self.sections = [ (0, head, items) for _1,_2,head,items in heads ]
def dump(self):
if self.prehead: