b.p._PluginImporter(object) : class documentation

Part of bzrlib.plugin View In Hierarchy

An importer tailored to bzr specific needs.

This is a singleton that takes care of: - disabled plugins specified in 'blacklist', - plugins that needs to be loaded from specific directories.

Method __init__ Undocumented
Method reset Undocumented
Method find_module Search a plugin module.
Method load_module Load a plugin from a specific directory.
def __init__(self):
def reset(self):
def find_module(self, fullname, parent_path=None):
Search a plugin module.

Disabled plugins raise an import error, plugins with specific paths returns a specific loader.

ReturnsNone if the plugin doesn't need special handling, self otherwise.
def load_module(self, fullname):
Load a plugin from a specific directory.
API Documentation for Bazaar, generated by pydoctor at 2020-08-07 00:56:42.