aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/gentoolkit/textwrap_.py')
-rw-r--r--pym/gentoolkit/textwrap_.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/textwrap_.py b/pym/gentoolkit/textwrap_.py
index 845ae9d..07c0831 100644
--- a/pym/gentoolkit/textwrap_.py
+++ b/pym/gentoolkit/textwrap_.py
@@ -43,7 +43,7 @@ class TextWrapper(textwrap.TextWrapper):
# Regex to strip ANSI escape codes. It's only used for the
# length calculations of indent and each chuck.
- ansi_re = re.compile('\x1b\[[0-9;]*m')
+ ansi_re = re.compile(r'\x1b\[[0-9;]*m')
while chunks: