':param plugin_path: A path to load as a plugin.
:returns: A plugin module.'

def _load_plugin_path(self, plugin_path):

    module_name = 'plugin_{0}'.format(os.path.splitext(os.path.basename(plugin_path))[0])
    try:
        return imp.load_source(module_name, plugin_path)
    except Exception as e:
        logger.warning(('Could    not    load    plugin    at    path    %s:    %s' % (plugin_path, e)))
        return None
