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

All Samples(8)  |  Call(8)  |  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'):
                        conf.port(), args.extended)
            if args.node_name == 'list':
                node.node_list(conf.host(), conf.port(), args.extended)
 
        elif hasattr(args, 'cluster_name'):
            cluster = managers.Cluster(args, d)
            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(),
                        conf.port())
 

src/d/a/daikon-HEAD/daikon/main.py   daikon(Download)
        conf.setup()
 
        conn = connection.Connection(conf.host(), conf.port())
 
        if hasattr(args, 'index_name'):
                        conf.port(), args.extended)
            if args.node_name == 'list':
                node.node_list(conf.host(), conf.port(), args.extended)
 
        elif hasattr(args, 'cluster_name'):
            cluster = managers.Cluster(args, d)
            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(),
                        conf.port())