Browse Source

format_changelog: Sort sections case-insensitively

Nick Mathewson 9 years ago
parent
commit
6c5db03e02
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/maint/format_changelog.py

+ 2 - 2
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: