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/enterprise/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyc
ó
[³XMc@sōddlZddlZddlmZmZddlmZddlmZeddddƒZ	ee	ƒZ
ejdee	ƒfd	eƒd
Z
dZie
d6ed
6ed6ed6ed6e
d6e
d6e
d6e
d6e
d6e
d6e
d6e
d6e
d6e
d6ed6ed6ed6ed6ed6Zd efd!„ƒYZd"„Ze
eƒZed#„Ze
eƒZd$„Ze
eƒZd%„Ze
eƒZd&„Ze
eƒZd'd1d(„ƒYZd)d2d*„ƒYZd+d,d-d d.d/d0gZdS(3i’’’’N(tVersiontgetVersionString(t
deprecated(t_safetTwistediis/twisted.enterprise.util is deprecated since %s.tcategoryiitbiginttbooltbooleantbyteatdatetint2tint4tint8tinttintegertfloat4tfloat8tnumerictrealtsmallinttcharttextttimet	timestamptvarchartDBErrorcBseZRS((t__name__t
__module__(((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyR/scCs@|jƒ}x-|jD]"\}}||jƒkr|SqWdS(N(tlowert
rowKeyColumnstNone(trowClasstnametlcnamet	keyColumnttype((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pytgetKeyColumn6s
cCs–tj|dƒ}|dkr1td|ƒ‚n|dkrAdS|tkrWt|ƒS|tkr’|jdƒrŠ|rd}qŠd}n|dkrOdg}x“|D]‹}t|ƒ}|dkrŌ|j	d	ƒq¦|d
krō|j	|dƒq¦d|kod
knr |j	|ƒq¦|j	d|ƒq¦W|j	dƒdj
|ƒSt|tj
ƒr„t|tjƒr„t|ƒ}nd||ƒSdS(seAdd quotes for text types and no quotes for integer types.
    NOTE: uses Postgresql type codes.
    sType %s not knowntnullRt1t0R	t'is\\000i\ii i~s\%03ots'%s'N(t	dbTypeMaptgetRRtNOQUOTEtstrtUSEQUOTEt
startswithtordtappendtjoint
isinstancettypest
StringTypetUnicodeType(tvaluettypeCodetstring_escapertqtltcti((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pytquote@s:
			


cCs
t|ƒS(s<
    Make a string safe to include in an SQL statement.
    (R(R((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pytsafefscCsyi}xltdt|ƒƒD]U}|j|djƒ}x5|jD]*}|jƒ|krC||||<PqCqCWqW|S(sUtility method to construct a dictionary for the attributes
    of an object from set of args. This also fixes the case of column names.
    i(trangetlent	dbColumnsRt
rowColumns(R targstkwR>t
columnNametattr((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pytmakeKWoscCs|ƒ}|jj|ƒ|S(s7Used by loadObjects to create rowObject instances.
    (t__dict__tupdate(R tdataRFt	newObject((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pytdefaultFactoryMethod~s	t
_TableInfocBs)eZdZd„Zd„Zd„ZRS(sw(internal)

    Info about a table/class and it's relationships. Also serves as a container for
    generated SQL.
    cCsĒ||_|j|_|j|_|j|_t|dƒrK|j|_n	g|_t|dƒrŠ|jr{|j|_q–tg|_ntg|_d|_	d|_
d|_g|_g|_
dS(NtrowForeignKeystrowFactoryMethod(R trowTableNameRRDthasattrRPRQRNRt	updateSQLt	deleteSQLt	insertSQLt
relationshipsRC(tselftrc((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyt__init__Žs"							cCs&|jjt|||||ƒƒdS(såThis information is attached to the "parent" table
                childColumns - columns of the "child" table
                parentColumns - columns of the "parent" table, the one being joined to... the "foreign" table
        N(RWR2t_TableRelationship(RXtchildColumnst
parentColumnst
childRowClasstcontainerMethodtautoLoad((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyt
addForeignKey§scCs.x'|jD]}|jj|kr
|Sq
WdS(N(RWR^RRR(RXt	tableNametrelationship((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pytgetRelationshipForÆs(RRt__doc__RZRaRd(((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyROˆs		R[cBseZdZd„ZRS(sC(Internal)

    A foreign key relationship between two tables.
    cCs1||_||_||_||_||_dS(N(R\R]R^R_R`(RXR\R]R^R_R`((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyRZŗs
				(RRReRZ(((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyR[µsR-R/R+R%R@R?(((twarningsR5ttwisted.python.versionsRRttwisted.python.deprecateRttwisted.enterprise.adbapiRt_deprecatedVersiont_releasedDeprecationtwarntDeprecationWarningR-R/R+t	ExceptionRR%R?R@RIRNROR[t__all__(((s;/usr/lib/python2.7/dist-packages/twisted/enterprise/util.pyt<module>s^
	#			-

Youez - 2016 - github.com/yon3zu
LinuXploit