ansible/ansible — pull request #5730 by ciupicri (2014-01-23 03:38:49+00:00)
Title: Micro-optimization: replace str.find()!=-1 with in

timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
Besides it makes the code a bit shorter.