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

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

src/l/i/lisa-server-0.1.1.31/lisa/server/web/manageplugins/management/commands/plugin.py   lisa-server(Download)
    def manage(self, name, action, author_email=None, author_name=None):
        if action == "install":
            status = pluginmanager.installPlugin(plugin_name=name)
        elif action == "disable":
            status = pluginmanager.disablePlugin(plugin_name=name)

src/l/i/lisa-server-0.1.1.31/lisa/server/web/manageplugins/api.py   lisa-server(Download)
        self.throttle_check(request)
        plugin_name = kwargs['plugin_name']
        status = pluginmanager.installPlugin(plugin_name=plugin_name)
 
        self.log_throttled_access(request)