[tor-commits] [stem/master] Drop misspelling workaround

atagar at torproject.org atagar at torproject.org
Mon Feb 10 03:14:50 UTC 2020


commit 7ab6310b098955d5b27ea0f4ad7b30d723a820dd
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Feb 9 19:05:08 2020 -0800

    Drop misspelling workaround
---
 stem/util/term.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/stem/util/term.py b/stem/util/term.py
index 5554bf6c..06391441 100644
--- a/stem/util/term.py
+++ b/stem/util/term.py
@@ -87,12 +87,6 @@ def encoding(*attrs):
   term_encodings = []
 
   for attr in attrs:
-    # TODO: Account for an earlier misspelled attribute. This should be dropped
-    # in Stem. 2.0.x.
-
-    if attr == 'HILIGHT':
-      attr = 'HIGHLIGHT'
-
     attr = stem.util.str_tools._to_camel_case(attr)
     term_encoding = FG_ENCODING.get(attr, None)
     term_encoding = BG_ENCODING.get(attr, term_encoding)





More information about the tor-commits mailing list