summaryrefslogtreecommitdiffstats
path: root/waflib/ansiterm.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:04 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commita31cace29a936dfff80c16d25a5c24d783c9611f (patch)
tree9a5aa34548658092800c7f9fc799170500c5e55e /waflib/ansiterm.py
parent04129c016c366332c89b7068b11b37c0843e20eb (diff)
parent619946be846e7cfa9b79ccd433746f172ccdefc3 (diff)
downloadsratom-a31cace29a936dfff80c16d25a5c24d783c9611f.tar.gz
sratom-a31cace29a936dfff80c16d25a5c24d783c9611f.tar.bz2
sratom-a31cace29a936dfff80c16d25a5c24d783c9611f.zip
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/ansiterm.py')
-rw-r--r--waflib/ansiterm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waflib/ansiterm.py b/waflib/ansiterm.py
index 0d20c63..027f0ad 100644
--- a/waflib/ansiterm.py
+++ b/waflib/ansiterm.py
@@ -264,7 +264,7 @@ else:
'u': pop_cursor,
}
# Match either the escape sequence or text not containing escape sequence
- ansi_tokens = re.compile('(?:\x1b\[([0-9?;]*)([a-zA-Z])|([^\x1b]+))')
+ ansi_tokens = re.compile(r'(?:\x1b\[([0-9?;]*)([a-zA-Z])|([^\x1b]+))')
def write(self, text):
try:
wlock.acquire()