diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 09:55:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 09:55:05 +0400 |
commit | a5b78bb6bdebe798865e8d6bcb958708d49c73b3 (patch) | |
tree | aa6a417ac7651ef40d6f7173b3c6b01a50dc746a /build_files/scons/tools/Blender.py | |
parent | 86bebb338013fd9ac4e39c3f3a8665b1d3b0ed53 (diff) |
replace use of 'a.find(b) != -1' --> 'b in a'
Diffstat (limited to 'build_files/scons/tools/Blender.py')
-rw-r--r-- | build_files/scons/tools/Blender.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index c6cb88faebc..24bdd32ed26 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -847,7 +847,7 @@ class BlenderEnvironment(SConsEnvironment): def list_substring(quickie, libname): for q in quickie: - if libname.find(q) != -1: + if q in libname: return True return False |