[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] format_changelog.py: fix spelling of "hyphenatable"



commit 53440938294eba6305da69362f03a645afb8e636
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Sun Oct 19 12:59:17 2014 -0400

    format_changelog.py: fix spelling of "hyphenatable"
---
 scripts/maint/format_changelog.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/maint/format_changelog.py b/scripts/maint/format_changelog.py
index 6b4e757..398e7ea 100755
--- a/scripts/maint/format_changelog.py
+++ b/scripts/maint/format_changelog.py
@@ -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")

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits