'Import a key from a keyserver
>>> import shutil
>>> shutil.rmtree("keys")
>>> gpg = GPG(gnupghome="keys")
>>> result = gpg.recv_keys(\'pgp.mit.edu\', \'3FF0DB166A7476EA\')
>>> assert result'

def recv_keys(self, keyserver, *keyids):

    result = self.result_map['import'](self)
    logger.debug('recv_keys:    %r', keyids)
    data = _make_binary_stream('', self.encoding)
    args = ['--keyserver', keyserver, '--recv-keys']
    args.extend(keyids)
    self._handle_io(args, data, result, binary=True)
    logger.debug('recv_keys    result:    %r', result.__dict__)
    data.close()
    return result
