#NEWLINE# def send_keys( self , keyserver , * keyids ) : #NEWLINE# #INDENT# "Send a key to a keyserver.\n\n        Note: it's not practical to test this function without sending\n        arbitrary data to live keyservers.\n        " #NEWLINE# result = self . result_map [ 'send' ] ( self ) #NEWLINE# logger . debug ( 'send_keys: %r' , result ) #NEWLINE# data = _make_binary_stream ( '' , self . encoding ) #NEWLINE# args = [ '--keyserver' , shell_quote ( keyserver ) , '--send-keys' ] #NEWLINE# args . extend ( [ shell_quote ( k ) for k in keyids ] ) #NEWLINE# self . _handle_io ( args , data , result , binary = True ) #NEWLINE# logger . debug ( 'send_keys result: %r' , result . __dict__ ) #NEWLINE# data . close ( ) #NEWLINE# return result