#NEWLINE# def get( self , resource , **kwargs ) : #NEWLINE# #INDENT# paths = [ os . path . join ( resource . owner . dependencies_directory , 'bin' , resource . platform , resource . filename ) , os . path . join ( settings . environment_root , 'bin' , resource . platform , resource . filename ) ] #NEWLINE# for path in paths : #NEWLINE# #INDENT# if os . path . isfile ( path ) : #NEWLINE# #INDENT# return path