__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
3 �<�e� � @ s@ d dl mZ d dlZd dlZejj� ZdgZG dd� de�Z dS )� )�PluginLoaderN� Repositoryc s@ e Zd Z� fdd�Zedd� �Zdd� Zdd� Zd d � Z� Z S )r c sJ t t| �j� t� | _|| _|| _|| _|| _|| _ || _ || _|| _d S )N) �superr �__init__�set�_plugins�_monitor_repository�_storage_factory�_hardware_inventory�_device_matcher�_device_matcher_udev�_plugin_instance_factory�_global_cfg� _variables) �selfZmonitor_repositoryZstorage_factoryZhardware_inventoryZdevice_matcherZdevice_matcher_udevZplugin_instance_factoryZ global_cfg� variables)� __class__� � /usr/lib/python3.6/repository.pyr s zRepository.__init__c C s | j S )N)r )r r r r �plugins s zRepository.pluginsc C s d| _ d| _tjjj| _d S )Nz tuned.pluginsZplugin_)Z _namespace�_prefix�tunedr �baseZPluginZ _interface)r r r r �_set_loader_parameters s z!Repository._set_loader_parametersc C sN t jd| � | j|�}|| j| j| j| j| j| j| j | j �}| jj|� |S )Nzcreating plugin %s) �log�debugZload_pluginr r r r r r r r r �add)r Zplugin_nameZ plugin_clsZplugin_instancer r r �create s zRepository.createc C s&