#NEWLINE# def find( self , only_visible = True , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . __findcacheiter ( only_visible , ** kwargs ) . next ( ) #NEWLINE# #UNINDENT# except StopIteration : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . _finditer ( only_visible , ** kwargs ) . next ( ) #NEWLINE# #UNINDENT# except StopIteration : #NEWLINE# #INDENT# attrs = [ ( '%s=%s' % ( k , v ) ) for ( k , v ) in kwargs . iteritems ( ) ] #NEWLINE# raise TooSaltyUISoupException ( ( 'Can\'t find object with attributes "%s".' % '; ' . join ( self ) ) )