summaryrefslogtreecommitdiff
path: root/test/srcchange.py
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2016-01-30 22:39:17 +0000
committerThomas Tanner <trtanner@btinternet.com>2016-01-30 22:39:17 +0000
commit92fd45b8c36d14e9a4edb2a4b5a78882167e7525 (patch)
tree912fb4db4a3e452f811ab3a922a05d76bf4dba10 /test/srcchange.py
parentcefa78744e92f319112c1a5fc26f34727e9bbc5c (diff)
downloadscons-92fd45b8c36d14e9a4edb2a4b5a78882167e7525.tar.gz
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/srcchange.py')
-rw-r--r--test/srcchange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/srcchange.py b/test/srcchange.py
index d1812973..f2fde91a 100644
--- a/test/srcchange.py
+++ b/test/srcchange.py
@@ -63,7 +63,7 @@ SubRevision = Action(subrevision)
env=Environment()
content_env=env.Clone()
-content_env.Command('revision.in', [], '%(_python_)s getrevision > $TARGET')
+content_env.Command('revision.in', [], r'%(_python_)s getrevision > $TARGET')
content_env.AlwaysBuild('revision.in')
env.Precious('main.c')
env.Command('main.c', 'revision.in', SubRevision)