From 4c32c546aedd78e8f23508a3b4c1d58126598a96 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sat, 20 Sep 2008 01:07:39 +0000 Subject: Windows portability: escape strings with file path names, which have \ separators on Windows. --- test/ExecuteInvalidateCache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ExecuteInvalidateCache.py b/test/ExecuteInvalidateCache.py index aad12e4..9c328a7 100644 --- a/test/ExecuteInvalidateCache.py +++ b/test/ExecuteInvalidateCache.py @@ -69,10 +69,10 @@ exists( n2 ) Execute(Copy('abc', 'def')) exists( n1 ) -n3 = File("%(subfn)s") +n3 = File(r"%(subfn)s") exists( n3 ) Execute(Mkdir('sub')) -Execute(Touch("%(subfn)s")) +Execute(Touch(r"%(subfn)s")) exists( n3 ) """ % locals()) -- cgit v0.12