403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/paste/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/paste/config.pyo
Ñò
•ÊIc@sdZddklZlZdddgZdefd„ƒYZeƒZeƒZdefd„ƒYZ	d„Z
e	iZd	S(
s*Paste Configuration Middleware and Objectsiÿÿÿÿ(tRegistryManagertStackedObjectProxytDispatchingConfigtCONFIGtConfigMiddlewarecBs`eZdZdd„Zd„Zd	d„Zd„Zd	d„Zd„Z	d„Z
e
ZZRS(
s
    This is a configuration object that can be used globally,
    imported, have references held onto.  The configuration may differ
    by thread (or may not).

    Specific configurations are registered (and deregistered) either
    for the process or for threads.
    RcCs*tt|ƒid|ƒg|id<dS(Ntnamet_process_configs(tsuperRt__init__t__dict__(tselfR((s0/usr/lib/python2.6/site-packages/paste/config.pyRscCs|i|ƒdS(sŸ
        Make ``conf`` the active configuration for this thread.
        Thread-local configuration always overrides process-wide
        configuration.

        This should be used like::

            conf = make_conf()
            dispatching_config.push_thread_config(conf)
            try:
                ... do stuff ...
            finally:
                dispatching_config.pop_thread_config(conf)
        N(t_push_object(R
tconf((s0/usr/lib/python2.6/site-packages/paste/config.pytpush_thread_configscCs|i|ƒdS(s¹
        Remove a thread-local configuration.  If ``conf`` is given,
        it is checked against the popped configuration and an error
        is emitted if they don't match.
        N(t_pop_object(R
R((s0/usr/lib/python2.6/site-packages/paste/config.pytpop_thread_config+scCs|ii|ƒdS(sg
        Like push_thread_config, but applies the configuration to
        the entire process.
        N(Rtappend(R
R((s0/usr/lib/python2.6/site-packages/paste/config.pytpush_process_config3scCs|i|i|ƒdS(N(t	_pop_fromR(R
R((s0/usr/lib/python2.6/site-packages/paste/config.pytpop_process_config:scCsD|iƒ}|dj	o'||j	otd||fƒ‚ndS(NsBThe config popped (%s) is not the same as the config expected (%s)(tpoptNonetAssertionError(R
tlstRtpopped((s0/usr/lib/python2.6/site-packages/paste/config.pyR=s
cCsSytt|ƒiƒSWn5tj
o)|io|idStdƒ‚nXdS(Niÿÿÿÿs?No configuration has been registered for this process or thread(RRt_current_objt	TypeErrorRtAttributeError(R
((s0/usr/lib/python2.6/site-packages/paste/config.pyREs
N(
t__name__t
__module__t__doc__RR
RRRRRRtcurrenttcurrent_conf(((s0/usr/lib/python2.6/site-packages/paste/config.pyR	s					cBseZdZedd„ZRS(s
    A WSGI middleware that adds a ``paste.config`` key (by default)
    to the request environment, as well as registering the
    configuration temporarily (for the length of the request) with
    ``paste.config.CONFIG`` (or any other ``DispatchingConfig``
    object).
    spaste.configcs5‡‡‡‡fd†}t|i|ƒi|ƒdS(sv
        This delegates all requests to `application`, adding a *copy*
        of the configuration `config`.
        cs€|iˆtƒ}ˆiƒ}|ˆ<|diˆ|ƒzˆ||ƒ}Wd|tjo|iˆdƒn||ˆ<X|S(Nspaste.registry(tgett	no_configtcopytregisterRR(tenvirontstart_responset
popped_configtcurrent_configtapp_iter(tdispatching_configtapplicationtenviron_keytconfig(s0/usr/lib/python2.6/site-packages/paste/config.pytregister_configbs

N(Rt	__class__R(R
R+R-R*R,R.((R*R+R,R-s0/usr/lib/python2.6/site-packages/paste/config.pyR\s(RRRRR(((s0/usr/lib/python2.6/site-packages/paste/config.pyRSscKs&|iƒ}|i|ƒt||ƒS(N(R#tupdateR(tapptglobal_conft
local_confR((s0/usr/lib/python2.6/site-packages/paste/config.pytmake_config_filterss
N(Rtpaste.registryRRt__all__RRtobjectR"RR4tmake_config_middleware(((s0/usr/lib/python2.6/site-packages/paste/config.pyt<module>sG		 	

Youez - 2016 - github.com/yon3zu
LinuXploit