#NEWLINE# def write( self , datapoints ) : #NEWLINE# #INDENT# for datapoint in _e : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . connection . sendall ( ( '%s.%s %s %d\n' % ( self . prefix , datapoint . name , datapoint . value , datapoint . timestamp ) ) ) #NEWLINE# #UNINDENT# except Exception as _e : #NEWLINE# #INDENT# log . error ( ( 'GraphiteSink: WriteError\n %s \n%s' % ( datapoint , str ( _e ) ) ) )