simple python script to grep on a list of strings. Result show code line to modify due to api changes and a suggestion for the change