#NEWLINE# def filter( self , table , flavors , filter_string ) : #NEWLINE# #INDENT# ' Really naive case-insensitive search. ' #NEWLINE# q = filter_string . lower ( ) #NEWLINE# def comp( flavor ) : #NEWLINE# #INDENT# return ( q in flavor . name . lower ( ) ) #NEWLINE# #UNINDENT# return filter ( comp , filter_string )