summaryrefslogtreecommitdiffstats
path: root/QMTest/TestSCons.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-06-05 08:38:21 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-06-05 08:38:21 (GMT)
commite1ea7c465eb9e91c295ec11f9da4a2501aeda6b3 (patch)
tree7a47bbb27e61265ef175463c47e89cc5df7f243e /QMTest/TestSCons.py
parenta370be68451eb89f30b073e52423f3bd47f9df90 (diff)
downloadSCons-e1ea7c465eb9e91c295ec11f9da4a2501aeda6b3.zip
SCons-e1ea7c465eb9e91c295ec11f9da4a2501aeda6b3.tar.gz
SCons-e1ea7c465eb9e91c295ec11f9da4a2501aeda6b3.tar.bz2
The re_escape() function escapes too little. Blind fix for a Windows problem.
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r--QMTest/TestSCons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index a5529f4..d9f0bf2 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -141,7 +141,7 @@ file_expr = r"""File "[^"]*", line \d+, in [^\n]+
# re.escape escapes too much.
def re_escape(str):
- for c in ['.', '[', ']', '(', ')', '*', '+', '?']: # Not an exhaustive list.
+ for c in '.[]()*+?\\': # Not an exhaustive list.
str = str.replace(c, '\\' + c)
return str