summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-19 14:19:22 -0400
committerNick Mathewson <nickm@torproject.org>2014-10-19 14:19:22 -0400
commit6c5db03e023afa583c3199c322bf1458c3b0125e (patch)
treec9128da55f29586b4be30625a9aee4f0684e429e
parent53440938294eba6305da69362f03a645afb8e636 (diff)
downloadtor-6c5db03e023afa583c3199c322bf1458c3b0125e.tar.gz
tor-6c5db03e023afa583c3199c322bf1458c3b0125e.zip
format_changelog: Sort sections case-insensitively
-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: