def connect_rpc(ctx, param, value):
    if not value:
        return
    try:
        from six.moves import xmlrpc_client
    except __HOLE__:
        import xmlrpclib as xmlrpc_client
    return xmlrpc_client.ServerProxy(value, allow_none=True)
dataset/ETHPy150Open binux/pyspider/pyspider/run.py/connect_rpc