Merged revisions 1582-1665 via svnmerge from
[scons.git] / test / Perforce / P4COMSTR.py
index d9a3bc0fe45c46390426b10c2d1925747deb0aab..72f05b8a13e086b5d1908ef04902c03338c5db40 100644 (file)
@@ -32,7 +32,7 @@ import os.path
 
 import TestSCons
 
-python = TestSCons.python
+_python_ = TestSCons._python_
 
 test = TestSCons.TestSCons()
 
@@ -65,7 +65,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='%(_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')