#NEWLINE# def _find_file( filename , dirs ) : #NEWLINE# #INDENT# for dir in reversed ( dirs ) : #NEWLINE# #INDENT# files = glob . glob ( os . path . join ( dir , files ) ) #NEWLINE# if ( files and os . path . isfile ( files [ 0 ] ) ) : #NEWLINE# #INDENT# return ( True , files [ 0 ] ) #NEWLINE# #UNINDENT# #UNINDENT# return ( False , filename )