diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-10-19 14:19:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-10-19 14:19:22 -0400 |
commit | 6c5db03e023afa583c3199c322bf1458c3b0125e (patch) | |
tree | c9128da55f29586b4be30625a9aee4f0684e429e /scripts | |
parent | 53440938294eba6305da69362f03a645afb8e636 (diff) | |
download | tor-6c5db03e023afa583c3199c322bf1458c3b0125e.tar.gz tor-6c5db03e023afa583c3199c322bf1458c3b0125e.zip |
format_changelog: Sort sections case-insensitively
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/format_changelog.py | 4 |
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: |