Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/d/a/daikon-1.51/daikon/main.py   daikon(Download)
        conf.setup()
 
        conn = connection.Connection(conf.host(), conf.port())
 
        if hasattr(args, 'index_name'):
            if args.node_name == 'shutdown':
                node.node_shutdown(args.node_shutdown_hostname,
                        conf.port(), args.delay)
            if args.node_name == 'status':
                node.node_status(args.node_status_hostname,
                        conf.port(), args.extended)
            if args.node_name == 'list':
                node.node_list(conf.host(), conf.port(), args.extended)
            if args.cluster_name == 'status':
                cluster.cluster_status(conf.cluster(), conf.host(),
                        conf.port(), args.extended)
            if args.cluster_name == 'shutdown':
                cluster.cluster_shutdown(conf.cluster(), conf.host(),

src/d/a/daikon-HEAD/daikon/main.py   daikon(Download)
        conf.setup()
 
        conn = connection.Connection(conf.host(), conf.port())
 
        if hasattr(args, 'index_name'):
            if args.node_name == 'shutdown':
                node.node_shutdown(args.node_shutdown_hostname,
                        conf.port(), args.delay)
            if args.node_name == 'status':
                node.node_status(args.node_status_hostname,
                        conf.port(), args.extended)
            if args.node_name == 'list':
                node.node_list(conf.host(), conf.port(), args.extended)
            if args.cluster_name == 'status':
                cluster.cluster_status(conf.cluster(), conf.host(),
                        conf.port(), args.extended)
            if args.cluster_name == 'shutdown':
                cluster.cluster_shutdown(conf.cluster(), conf.host(),