diff options
author | Steven Knight <knight@baldmt.com> | 2009-11-15 19:32:06 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-11-15 19:32:06 (GMT) |
commit | a9f6332b4aabf7f00503ec14b1bd462c04844377 (patch) | |
tree | c55d7952637460292cab0620f9fa23b787078786 /src/engine/SCons/Tool/swig.py | |
parent | 7bcee9d5d15a6be4c29c72227f6b4e4cca3828c3 (diff) | |
download | SCons-a9f6332b4aabf7f00503ec14b1bd462c04844377.zip SCons-a9f6332b4aabf7f00503ec14b1bd462c04844377.tar.gz SCons-a9f6332b4aabf7f00503ec14b1bd462c04844377.tar.bz2 |
Python 1.5 fix: "mname += ..." => "mname = mname + ..."
Diffstat (limited to 'src/engine/SCons/Tool/swig.py')
-rw-r--r-- | src/engine/SCons/Tool/swig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/swig.py b/src/engine/SCons/Tool/swig.py index d8d032c..6cde839 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]) |