From: stevenknight Date: Sun, 15 Nov 2009 19:32:06 +0000 (+0000) Subject: Python 1.5 fix: "mname += ..." => "mname = mname + ..." X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=161899a2ed76e432e766b7110635e68cf087c272;p=scons.git Python 1.5 fix: "mname += ..." => "mname = mname + ..." git-svn-id: http://scons.tigris.org/svn/scons/trunk@4397 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/swig.py b/src/engine/SCons/Tool/swig.py index d8d032cc..6cde839b 100644 --- a/src/engine/SCons/Tool/swig.py +++ b/src/engine/SCons/Tool/swig.py @@ -68,7 +68,8 @@ def _find_modules(src): except IOError: # If the file's not yet generated, guess the module name from the filename matches = [] - mnames += [os.path.splitext(src)[0]] + # TODO(1.5): += + mnames = mname + [os.path.splitext(src)[0]] for m in matches: mnames.append(m[2])