403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/twisted/python/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/twisted/python/monkey.pyc
ó
[³XMc@sdefd„ƒYZdS(t
MonkeyPatchercBsDeZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(sn
    Cover up attributes with new objects. Neat for monkey-patching things for
    unit-testing purposes.
    cGs4g|_g|_x|D]}|j|ŒqWdS(N(t_patchesToApplyt
_originalstaddPatch(tselftpatchestpatch((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pyt__init__
s		
cCs|jj|||fƒdS(sæ
        Add a patch so that the attribute C{name} on C{obj} will be assigned to
        C{value} when C{patch} is called or during C{runWithPatches}.

        You can restore the original values with a call to restore().
        N(Rtappend(Rtobjtnametvalue((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pyRscCs=x6|jD]+\}}}||f||fkr
tSq
WtS(sc
        Has the C{name} attribute of C{obj} already been patched by this
        patcher?
        (RtTruetFalse(RR	R
totntv((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pyt_alreadyPatched!scCshxa|jD]V\}}}|j||ƒsP|jj||t||ƒfƒnt|||ƒq
WdS(s†
        Apply all of the patches that have been specified with L{addPatch}.
        Reverse this operation using L{restore}.
        N(RRRRtgetattrtsetattr(RR	R
R((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pyR,s%cCs<x5|jr7|jjƒ\}}}t|||ƒqWdS(sE
        Restore all original values to any patched objects.
        N(RtpopR(RR	R
R((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pytrestore7scOs-|jƒz|||ŽSWd|jƒXdS(s“
        Apply each patch already specified. Then run the function f with the
        given args and kwargs. Restore everything when done.
        N(RR(Rtftargstkw((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pytrunWithPatches@s
(	t__name__t
__module__t__doc__RRRRRR(((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pyRs	
	
				N(tobjectR(((s9/usr/lib/python2.7/dist-packages/twisted/python/monkey.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit