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/formmethod.pyc
ó
[³XMc@s÷dZddlZdefd„ƒYZdefd„ƒYZdd0d„ƒYZd	efd
„ƒYZdefd„ƒYZd
efd„ƒYZdefd„ƒYZ	defd„ƒYZ
defd„ƒYZdefd„ƒYZdefd„ƒYZ
defd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd!efd"„ƒYZd#efd$„ƒYZd%„Zd&efd'„ƒYZd(efd)„ƒYZd*d1d+„ƒYZd,d2d-„ƒYZd.d3d/„ƒYZdS(4s€
Form-based method objects.

This module contains support for descriptive method signatures that can be used
to format methods.
iÿÿÿÿNt
FormExceptioncBseZdZd„ZRS(s/An error occurred calling the form method.
    cOstj||Œ||_dS(N(t	Exceptiont__init__tdescriptions(tselftargstkwargs((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRs(t__name__t
__module__t__doc__R(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRst
InputErrorcBseZdZRS(s,
    An error occurred with some input.
    (RRR	(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR
stArgumentcBs\eZdZdZdddddd„Zd„Zdd„Zd„Zd„Z	d„Z
RS(	sBase class for form arguments.icCsa||_||_|dkr*|j}n||_||_||_|sTi}n||_dS(N(tnamet	allowNonetNonetdefaultDefaulttdefaultt	shortDesctlongDescthints(RRRRRRR
((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR#s						cKs|jj|ƒdS(N(Rtupdate(RR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytaddHints0scCs|jj||ƒS(N(Rtget(RRR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytgetHint3scCs|jp|jjƒS(N(RRt
capitalize(R((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytgetShortDescription6scCs
|jpdS(Nt(R(R((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytgetLongDescription9scCs
td‚dS(s(Convert the value to the correct format.simplement in subclassN(tNotImplementedError(Rtval((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytcoerce<sN(RRR	RRRRRRRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRs			tStringcBsGeZdZdZdZdZdddddddd„Zd„ZRS(sA single string.
    Riic		
CsDtj||d|d|d|d|d|ƒ||_||_dS(NRRRRR
(RRtmintmax(	RRRRRRR
R R!((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRHs	cCsut|ƒ}t|ƒ|jkr4td|j‚n|jdkrkt|ƒ|jkrktd|j‚nt|ƒS(Ns)Value must be at least %s characters longs(Value must be at most %s characters long(tstrtlenR R
R!R(RRts((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyROs$N(	RRR	RR RR!RR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRAstTextcBseZdZRS(sA long string.
    (RRR	(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR%XstPasswordcBseZdZRS(s2A string which should be obscured when input.
    (RRR	(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR&]stVerifiedPasswordcBseZdZd„ZRS(sCA string that should be obscured when input and needs verification.cCs¥t|ƒdks&|d|dkr2td‚nt|dƒ}t|ƒ|jkrjtd|j‚n|jdkr¡t|ƒ|jkr¡td|j‚n|S(Niiis%Please enter the same password twice.s)Value must be at least %s characters longs(Value must be at most %s characters long(R#R
R"R R!R(RtvalsR$((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRes&$(RRR	R(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR'bstHiddencBseZdZRS(sSA string which is not displayed.

    The passed default is used as the value.
    (RRR	(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR)pstIntegercBs5eZdZdZdddddd„Zd„ZRS(sA single integer.
    icCs#tj|||||||ƒdS(N(RR(RRR
RRRR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR|scCsM|jƒr|jrdSyt|ƒSWntk
rHtd|‚nXdS(Ns5%s is not valid, please enter a whole number, e.g. 10(tstripR
Rtintt
ValueErrorR
(RR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR†s
N(RRR	RRRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR*ws
		tIntegerRangecBs)eZdddddd„Zd„ZRS(ic		
CsD||_||_tj||d|d|d|d|d|ƒdS(NR
RRRR(R R!R*R(	RRR R!R
RRRR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR‘s		!cCstj||ƒ}|jr+|dkr+|S||jkrStd||jf‚n||jkr{td||jf‚n|S(Ns/Value %s is too small, it should be at least %ss.Value %s is too large, it should be at most %s(R*RR
RR R
R!(RRtresult((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR˜sN(RRRRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR.s	tFloatcBs/eZdZdddddd„Zd„ZRS(icCs#tj|||||||ƒdS(N(RR(RRR
RRRR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR§scCsM|jƒr|jrdSyt|ƒSWntk
rHtd|‚nXdS(NsInvalid float: %s(R+R
RtfloatR-R
(RR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR²s
N(RRRRRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR0£s	
tChoicecBs2eZdZggddddd„Zd„ZRS(sÐ
    The result of a choice between enumerated types.  The choices should
    be a list of tuples of tag, value, and description.  The tag will be
    the value returned if the user hits "Submit", and the description
    is the bale for the enumerated type.  default is a list of all the
    values (seconds element in choices).  If no defaults are specified,
    initially the first item will be selected.  Only one item can (should)
    be selected at once.
    ic
CsT||_|r.|r.|j|ddƒntj||||||d|ƒdS(NiiR
(tchoicestappendRR(RRR3RRRRR
((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRÅs	
cCsAx:|jD]\}}}||kr
|Sq
Wtd|ƒ‚dS(NsInvalid Choice: %s(R3R
(RtinIdenttidentRtdesc((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRÌsN(RRR	RRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR2»s		tFlagscBs2eZdZddddddd„Zd„ZRS(s¸
    The result of a checkbox group or multi-menu.  The flags should be a
    list of tuples of tag, value, and description. The tag will be
    the value returned if the user hits "Submit", and the description
    is the bale for the enumerated type.  default is a list of all the
    values (second elements in flags).  If no defaults are specified,
    initially nothing will be selected.  Several items may be selected at
    once.
    ic	Cs/||_tj||||||d|ƒdS(NR
(tflagsRR(RRR9RRRRR
((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRÞs	cCso|s
gSg}xX|D]P}xG|jD],\}}}||kr'|j|ƒPq'q'Wtd|ƒ‚qW|S(NsInvalid Flag: %s(R9R4R
(Rt
inFlagKeystoutFlagst	inFlagKeytflagKeytflagValtflagDesc((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRãs

((N(RRR	RRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR8Ôs		t
CheckGroupcBseZRS((RR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR@ñst
RadioGroupcBseZRS((RR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRAõstBooleancBseZd„ZRS(cCs0|s
dSt|ƒjƒ}|dkr,dSdS(	Nitnotntftfalset0i(RCRDRERFRG(R"tlower(RtinValtlInVal((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRús(RRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRBùstFilecBs&eZddddd„Zd„ZRS(icCs)||_tj||d|||ƒdS(N(R
RRR(RRR
RRR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRs	cCs+|r|jrdS|r|Std‚dS(NsInvalid File(R
RR
(Rtfile((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRs
N(RRRRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRKs	cCs%t|ƒ}|dkr!t‚n|S(Ni(R,R-(tx((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytpositiveInts	tDatecBs5eZdZdZdddddd„Zd„ZRS(s#A date -- (year, month, day) tuple.icCs;tj||||||ƒ||_|s7d|_ndS(Ni²i(i²ii(RRR
R(RRR
RRRR((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRs	cCsìt|ƒdkr|jrdSytt|ƒ\}}}Wntk
rWtd‚nX||fdkr™tj|ƒs‰td|‚q™|||fSnytj	|}Wnt
k
rÆtd‚nX||krßtd‚n|||fS(	s(Return tuple of ints (year, month, day).RsInvalid dateiis%d was not a leap year(RRRN(ii(ttupleR
RtmapRNR-R
tcalendartisleaptmdayst
IndexError(RRtyeartmonthtdayRT((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR!s"



N(RRR	RRRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyROs
	tSubmitcBs5eZdZdgdddddd„Zd„ZRS(	s0Submit button or a reasonable facsimile thereof.RYtsubmitsSubmit formicCs>tj||d|d|d|d|ƒ||_||_dS(NR3RRR(R2RR
treset(RRR3R[RRR
R((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR;s
	cCs(|jr|rdStj||ƒSdS(N(R
RR2R(Rtvalue((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRBs(sSubmitRZsSubmit formN(RRR	RRR(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRY8stPresentationHintcBseZdZRS(s(
    A hint to a particular system.
    (RRR	(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR]IstMethodSignaturecBs&eZd„Zd„Zed„ZRS(cGs
||_dS(s	
        N(tmethodSignature(RtsigList((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRQscCs+x$|jD]}|j|kr
|Sq
WdS(N(R_R(RRta((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytgetArgumentVscCst|||ƒS(N(t
FormMethod(RtcallablettakesRequest((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytmethod[s(RRRRbtFalseRf(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyR^Os		RccBs,eZdZed„Zd„Zd„ZRS(s#A callable object with a signature.cCs||_||_||_dS(N(t	signatureRdRe(RRhRdRe((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRbs		cCst|jjƒS(N(RPRhR_(R((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytgetArgsgscOs|j||ŽS(N(Rd(RRtkw((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pytcalljs(RRR	RgRRiRk(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyRc_s	(((((R	RRRRR
RRR%R&R'R)R*R.R0R2R8R@RARBRKRNRORYR]R^Rc(((s=/usr/lib/python2.7/dist-packages/twisted/python/formmethod.pyt<module>s0$		#

Youez - 2016 - github.com/yon3zu
LinuXploit