summaryrefslogtreecommitdiffstats
path: root/test/Parallel/multiple-parents.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-12-20 16:15:01 (GMT)
committerSteven Knight <knight@baldmt.com>2008-12-20 16:15:01 (GMT)
commit63a8df2c0783d98d402f3e6dfbb9e8d84af965d5 (patch)
tree1bd5721d8a968fd011383770e6812819427586b2 /test/Parallel/multiple-parents.py
parent0543e489a5d573cbd13f9c1af82bc3999676637f (diff)
downloadSCons-63a8df2c0783d98d402f3e6dfbb9e8d84af965d5.zip
SCons-63a8df2c0783d98d402f3e6dfbb9e8d84af965d5.tar.gz
SCons-63a8df2c0783d98d402f3e6dfbb9e8d84af965d5.tar.bz2
Fix left-over deprecated use of the Options object.
Diffstat (limited to 'test/Parallel/multiple-parents.py')
-rw-r--r--test/Parallel/multiple-parents.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Parallel/multiple-parents.py b/test/Parallel/multiple-parents.py
index ceeb47f..1b7a1a1 100644
--- a/test/Parallel/multiple-parents.py
+++ b/test/Parallel/multiple-parents.py
@@ -55,9 +55,9 @@ test = TestSCons.TestSCons()
# h) Builds that are interrupted
test.write('SConstruct', """
-opts = Options()
-opts.Add( BoolOption('interrupt', 'Interrupt the build.', 0 ) )
-optEnv = Environment(options=opts)
+vars = Variables()
+vars.Add( BoolVariable('interrupt', 'Interrupt the build.', 0 ) )
+varEnv = Environment(variables=vars)
def fail_action(target = None, source = None, env = None):
return 2
@@ -93,7 +93,7 @@ prev_prereq = prereq0
prev_ignore = ignore0
prev_igreq = igreq0
-if optEnv['interrupt']:
+if varEnv['interrupt']:
prev_level = prev_level + interrupt
for i in range(1,20):