diff options
author | Mats Wichmann <mats@linux.com> | 2019-08-30 13:59:29 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2019-08-30 14:04:23 (GMT) |
commit | 49212c0d8dc8db6657735036028948bf3ab9ede0 (patch) | |
tree | 08f0ea34bbc36d51a8234a72ea5fe65d3f44c68e /test/Alias/Alias.py | |
parent | 84843df640e34f83ebea25be851204f400a0d9ec (diff) | |
download | SCons-49212c0d8dc8db6657735036028948bf3ab9ede0.zip SCons-49212c0d8dc8db6657735036028948bf3ab9ede0.tar.gz SCons-49212c0d8dc8db6657735036028948bf3ab9ede0.tar.bz2 |
Use "in" in preference to string find method
In places where only the found/not found status is needed, use
the membership operator (in) for checks instead - makes for easier
reading and is considered faster for shorter strings.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Alias/Alias.py')
0 files changed, 0 insertions, 0 deletions