Anons79 Mini Shell

Directory : /proc/self/root/lib/python2.7/site-packages/ansible/utils/
Upload File :
Current File : //proc/self/root/lib/python2.7/site-packages/ansible/utils/context_objects.pyo

�
�Udac@`s�ddlmZmZmZeZddlmZddlm	Z	m
Z
mZmZddl
mZddlmZmZmZddlmZd�Zdeefd	��YZd
efd��YZee�defd
��Y�ZdS(i(tabsolute_importtdivisiontprint_function(tABCMeta(t	ContainertMappingtSequencetSet(t
ImmutableDict(t
add_metaclasstbinary_typet	text_type(t	SingletoncC`sLt|ttf�r|St|t�r�i}xF|j�D]8\}}t|t�rit|�||<q;|||<q;Wt|�St|t�r�t	�}x@|D]8}t|t�r�|j
t|��q�|j
|�q�Wt|�St|t�rHg}x@|D]8}t|t�r-|j
t|��q|j
|�qWt|�S|S(sRRecursively convert a container and objects inside of it into immutable data types(t
isinstanceRR
RtitemsRt_make_immutableRRtsettaddt	frozensetRtappendttuple(tobjt	temp_dicttkeytvaluettemp_sett
temp_sequence((sA/usr/lib/python2.7/site-packages/ansible/utils/context_objects.pyRs0
	



t
_ABCSingletoncB`seZdZRS(s�
    Combine ABCMeta based classes with Singleton based classes

    Combine Singleton and ABCMeta so we have a metaclass that unambiguously knows which can override
    the other.  Useful for making new types of containers which are also Singletons.
    (t__name__t
__module__t__doc__(((sA/usr/lib/python2.7/site-packages/ansible/utils/context_objects.pyR5stCLIArgscB`s&eZdZd�Zed��ZRS(s/
    Hold a parsed copy of cli arguments

    We have both this non-Singleton version and the Singleton, GlobalCLIArgs, version to leave us
    room to implement a Context object in the future.  Whereas there should only be one set of args
    in a global context, individual Context objects might want to pretend that they have different
    command line switches to trigger different behaviour when they run.  So if we support Contexts
    in the future, they would use CLIArgs instead of GlobalCLIArgs to store their version of command
    line flags.
    cC`sMi}x*|j�D]\}}t|�||<qWtt|�j|�dS(N(RRtsuperRt__init__(tselftmappingttoplevelRR((sA/usr/lib/python2.7/site-packages/ansible/utils/context_objects.pyR!JscC`s|t|��S(N(tvars(tclstoptions((sA/usr/lib/python2.7/site-packages/ansible/utils/context_objects.pytfrom_optionsPs(RRRR!tclassmethodR((((sA/usr/lib/python2.7/site-packages/ansible/utils/context_objects.pyR?s
	t
GlobalCLIArgscB`seZdZRS(s|
    Globally hold a parsed copy of cli arguments.

    Only one of these exist per program as it is for global context
    (RRR(((sA/usr/lib/python2.7/site-packages/ansible/utils/context_objects.pyR*UsN(t
__future__RRRttypet
__metaclass__tabcRt/ansible.module_utils.common._collections_compatRRRRt'ansible.module_utils.common.collectionsRtansible.module_utils.sixR	R
Rtansible.utils.singletonRRRRR*(((sA/usr/lib/python2.7/site-packages/ansible/utils/context_objects.pyt<module>s"	!


Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]