]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
format_changelog.py: fix spelling of "hyphenatable"
authorNick Mathewson <nickm@torproject.org>
Sun, 19 Oct 2014 16:59:17 +0000 (12:59 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 19 Oct 2014 16:59:17 +0000 (12:59 -0400)
scripts/maint/format_changelog.py

index 6b4e75734584cfb26a6f748d8e1c7c335607cb49..398e7ea611211bd9e0f3aa9879691a0d651d730e 100755 (executable)
@@ -119,7 +119,7 @@ def wrap_graf(words, prefix_len1=0, prefix_len2=0, width=72):
 
     return lines
 
-def hyphenateable(word):
+def hyphenatable(word):
     if "--" in word:
         return False
 
@@ -135,7 +135,7 @@ def split_paragraph(s):
 
     r = []
     for word in s.split():
-        if hyphenateable(word):
+        if hyphenatable(word):
             while "-" in word:
                 a,word = word.split("-",1)
                 r.append(a+"\xff")