From: gregnoel Date: Fri, 20 Nov 2009 01:44:49 +0000 (+0000) Subject: Faster backward-compatible code X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9714d5e428d428afaf356fc68acb034e34d9a384;p=scons.git Faster backward-compatible code git-svn-id: http://scons.tigris.org/svn/scons/trunk@4464 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/swig.py b/src/engine/SCons/Tool/swig.py index 1fe04612..c473b103 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])