diff options
author | Greg Noel <GregNoel@tigris.org> | 2009-11-20 01:44:49 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2009-11-20 01:44:49 (GMT) |
commit | 8e7d11938e780283fd48424c822a62b2d925e3dc (patch) | |
tree | a4f05e4168f1259aba289634a704b310de1ca63f | |
parent | 57bf294eaae19922e6e39e5c8e9138112b088641 (diff) | |
download | SCons-8e7d11938e780283fd48424c822a62b2d925e3dc.zip SCons-8e7d11938e780283fd48424c822a62b2d925e3dc.tar.gz SCons-8e7d11938e780283fd48424c822a62b2d925e3dc.tar.bz2 |
Faster backward-compatible code
-rw-r--r-- | src/engine/SCons/Tool/swig.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/swig.py b/src/engine/SCons/Tool/swig.py index 1fe0461..c473b10 100644 --- a/src/engine/SCons/Tool/swig.py +++ b/src/engine/SCons/Tool/swig.py @@ -68,8 +68,7 @@ def _find_modules(src): except IOError: # If the file's not yet generated, guess the module name from the filename matches = [] - # TODO(1.5): += - mnames = mnames + [os.path.splitext(src)[0]] + mnames.append(os.path.splitext(src)[0]) for m in matches: mnames.append(m[2]) |