summaryrefslogtreecommitdiffstats
path: root/test/Java/multi-step.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-02-06 18:36:10 (GMT)
committerSteven Knight <knight@baldmt.com>2009-02-06 18:36:10 (GMT)
commitfad26790d5c9d6ad544b426796d6ca8cd908bb95 (patch)
tree7baba507756d614ac4b146011916abe5d41d3626 /test/Java/multi-step.py
parentd8ff2cbc9a0848f755bdc460f9be0f74c2202738 (diff)
downloadSCons-fad26790d5c9d6ad544b426796d6ca8cd908bb95.zip
SCons-fad26790d5c9d6ad544b426796d6ca8cd908bb95.tar.gz
SCons-fad26790d5c9d6ad544b426796d6ca8cd908bb95.tar.bz2
Remove (lots) more unnecessary imports.
Diffstat (limited to 'test/Java/multi-step.py')
-rw-r--r--test/Java/multi-step.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Java/multi-step.py b/test/Java/multi-step.py
index b5f24f9..34e814b 100644
--- a/test/Java/multi-step.py
+++ b/test/Java/multi-step.py
@@ -29,6 +29,8 @@ Real-world test (courtesy Leanid Nazdrynau) of the multi-step
capabilities of the various Java Builders.
"""
+import os
+
import TestSCons
test = TestSCons.TestSCons()
@@ -562,7 +564,6 @@ test.must_exist(['buildout', 'jni', 'SampleTest.java'])
# a SampleTest.class file, while others do. Only issue a warning if
# it doesn't exist.
p = test.workpath('buildout', 'jni', 'SampleTest.class')
-import os.path
if not os.path.exists(p):
print 'Warning: %s does not exist' % p