aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/extras/run_do_script.py
diff options
context:
space:
mode:
Diffstat (limited to 'waflib/extras/run_do_script.py')
-rw-r--r--waflib/extras/run_do_script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waflib/extras/run_do_script.py b/waflib/extras/run_do_script.py
index f3c5812..07e3aa2 100644
--- a/waflib/extras/run_do_script.py
+++ b/waflib/extras/run_do_script.py
@@ -101,7 +101,7 @@ class run_do_script(run_do_script_base):
with open(**kwargs) as log:
log_tail = log.readlines()[-10:]
for line in log_tail:
- error_found = re.match("r\(([0-9]+)\)", line)
+ error_found = re.match(r"r\(([0-9]+)\)", line)
if error_found:
return error_found.group(1), ''.join(log_tail)
else: