def load_plugin(self, plugin_name):
        """ Loads a single plugin given its name """
        if not plugin_name in __all__:
            raise KeyError("Plugin " + plugin_name + " not found")
        try:
            plugin = self.__plugins[plugin_name]
        except __HOLE__:
            # Load the plugin only if not loaded yet
            log.debug("Loading plugin: %s" % plugin_name)
            module = __import__("plugins." + plugin_name, fromlist=["plugins"])
            plugin = module.load()
            self.__plugins[plugin_name] = plugin
        return plugin
dataset/ETHPy150Open nacx/kahuna/kahuna/pluginmanager.py/PluginManager.load_plugin