summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/midl.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/midl.py')
-rw-r--r--src/engine/SCons/Tool/midl.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine/SCons/Tool/midl.py b/src/engine/SCons/Tool/midl.py
index bf1f2ac..64b927a 100644
--- a/src/engine/SCons/Tool/midl.py
+++ b/src/engine/SCons/Tool/midl.py
@@ -33,8 +33,6 @@ selection method.
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-
import SCons.Action
import SCons.Builder
import SCons.Defaults
@@ -53,10 +51,10 @@ def midl_emitter(target, source, env):
midlcom = env['MIDLCOM']
- if string.find(midlcom, '/proxy') != -1:
+ if midlcom.find('/proxy') != -1:
proxy = base + '_p.c'
t.append(proxy)
- if string.find(midlcom, '/dlldata') != -1:
+ if midlcom.find('/dlldata') != -1:
dlldata = base + '_data.c'
t.append(dlldata)