Removed clearing of extended 127-159 range, as per #551.

This commit is contained in:
Griatch 2014-08-21 22:49:52 +02:00
parent 6ae2ca6901
commit ffa90e1a03

View file

@ -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.