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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Reloads all enabled plugins.
    

        def _reload():
    """Reloads all enabled plugins.
    """
    logging.debug("Reloading plugins")
    global _join_callbacks
    _join_callbacks = []
    _regexes.clear()
    _callbacks.clear()
    # Call setup to load the modules again.
    # Important: this works because when using imp.load_module to load an
    # already imported module, the second import is equivalent to a reload() of
    # that module.
    setup()
        


src/l/a/lala-0.3/lala/plugins/base.py   lala(Download)
def pluginupdate(user, channel, text):
    """Reloads all plugins. Plugins that are not enabled in the configuration
    file will be disabled by calling this!
    """
    lala.pluginmanager._reload()