summaryrefslogtreecommitdiffstats
path: root/test/Deprecated/SourceCode/Perforce/P4COMSTR.py
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2016-01-30 22:39:17 (GMT)
committerThomas Tanner <trtanner@btinternet.com>2016-01-30 22:39:17 (GMT)
commit7f5d85d7f4428fb2fb7271952a00c87dc8c66533 (patch)
tree912fb4db4a3e452f811ab3a922a05d76bf4dba10 /test/Deprecated/SourceCode/Perforce/P4COMSTR.py
parenta88dd02a03343dd0a0e17f6ad589148bf77d0493 (diff)
downloadSCons-7f5d85d7f4428fb2fb7271952a00c87dc8c66533.zip
SCons-7f5d85d7f4428fb2fb7271952a00c87dc8c66533.tar.gz
SCons-7f5d85d7f4428fb2fb7271952a00c87dc8c66533.tar.bz2
Fix for backslash being treated as an escape character
On my windows system, my python is in c:\apps\32\python. Theres a lot of places where that \32 gets turned into an ascii character and the unit tests don't run.
Diffstat (limited to 'test/Deprecated/SourceCode/Perforce/P4COMSTR.py')
-rw-r--r--test/Deprecated/SourceCode/Perforce/P4COMSTR.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Deprecated/SourceCode/Perforce/P4COMSTR.py b/test/Deprecated/SourceCode/Perforce/P4COMSTR.py
index 7a24021..7b2fbba 100644
--- a/test/Deprecated/SourceCode/Perforce/P4COMSTR.py
+++ b/test/Deprecated/SourceCode/Perforce/P4COMSTR.py
@@ -75,7 +75,7 @@ def cat(env, source, target):
f.close()
env = Environment(TOOLS = ['default', 'Perforce'],
BUILDERS={'Cat':Builder(action=cat)},
- P4COM='%(_python_)s my-p4.py $TARGET',
+ P4COM=r'%(_python_)s my-p4.py $TARGET',
P4COMSTR='Checking out $TARGET from our fake Perforce')
env.Cat('aaa.out', 'aaa.in')
env.Cat('bbb.out', 'bbb.in')