From 9714d5e428d428afaf356fc68acb034e34d9a384 Mon Sep 17 00:00:00 2001 From: gregnoel Date: Fri, 20 Nov 2009 01:44:49 +0000 Subject: [PATCH] Faster backward-compatible code git-svn-id: http://scons.tigris.org/svn/scons/trunk@4464 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/swig.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]) -- 2.26.2