From ffa90e1a0337537a6b7550812d068367d71b4154 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 21 Aug 2014 22:49:52 +0200 Subject: [PATCH] Removed clearing of extended 127-159 range, as per #551. --- src/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.py b/src/utils/utils.py index c18f99d575..0591eeb300 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -1097,7 +1097,7 @@ class lazy_property(object): return value _STRIP_ANSI = None -_RE_CONTROL_CHAR = re.compile('[%s]' % re.escape(''.join([unichr(c) for c in range(0,32) + range(127,160)]))) +_RE_CONTROL_CHAR = re.compile('[%s]' % re.escape(''.join([unichr(c) for c in range(0,32)])))# + range(127,160)]))) def escape_control_sequences(string): """ remove non-print text sequences from string.