Did I find the right examples for you? yes no

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

        def setCluster(cluster):
    global _cluster
    _cluster = cluster
        


src/p/l/plone.controller-1.8/plone/controller/controller.py   plone.controller(Download)
 
    cluster = Cluster(os.path.dirname(config_file), config_file, installed_file)
    config.setCluster(cluster)
    useShell = os.environ.has_key('USE_SHELL')
    app = RunApp(os.getcwd(), Notebook, useShell, cluster)