Python 1.5 fix: "mname += ..." => "mname = mname + ..."
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 15 Nov 2009 19:32:06 +0000 (19:32 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 15 Nov 2009 19:32:06 +0000 (19:32 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4397 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/swig.py

index d8d032ccdf1a1675d4c75ade9cd011c8f3574729..6cde839b95dd99f340485af9f2daed294526c892 100644 (file)
@@ -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])