HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/__pycache__/plugin.cpython-36.opt-1.pyc
3

�T_��@s<ddlZddlmZejd�ZddiZddd�Zd	d
�ZdS)�N)�HierarchicalEmitterz
awscli.pluginZ__builtin__zawscli.handlersTcCs\|r|jt�t|�}|dkr$t�}x2t|j�|�D] \}}tjd||�|j|�q4W|S)a�

    :type plugin_mapping: dict
    :param plugin_mapping: A dict of plugin name to import path,
        e.g. ``{"plugingName": "package.modulefoo"}``.

    :type event_hooks: ``EventHooks``
    :param event_hooks: Event hook emitter.  If one if not provided,
        an emitter will be created and returned.  Otherwise, the
        passed in ``event_hooks`` will be used to initialize plugins.

    :type include_builtins: bool
    :param include_builtins: If True, the builtin awscli plugins (specified in
        ``BUILTIN_PLUGINS``) will be included in the list of plugins to load.

    :rtype: HierarchicalEmitter
    :return: An event emitter object.

    NzInitializing plugin %s: %s)	�update�BUILTIN_PLUGINS�_import_pluginsr�zip�keys�log�debugZawscli_initialize)Zplugin_mappingZevent_hooksZinclude_builtins�modules�nameZplugin�r�/usr/lib/python3.6/plugin.py�load_pluginss
rcCslg}xb|j�D]V\}}tjd||�d|kr<|jt|��q|jdd�\}}t||gd�}|j|�qW|S)NzImporting plugin %s: %s�.�)�fromlist)�itemsrr	�append�
__import__�rsplit)Zplugin_namesZpluginsr�path�package�modulerrr
r5sr)NT)ZloggingZbotocore.hooksrZ	getLoggerrrrrrrrr
�<module>
s