Viewing File: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pyc

ó
!`Nc@sDddlZddlZddlZdejjfd„ƒYZdS(iÿÿÿÿNtHINFOcBs}eZdZddgZd„Zd	ed„Zd	ed„Ze	eƒZd	d	d„Z
d	d„Ze	eƒZd„ZRS(
sHINFO record

    @ivar cpu: the CPU type
    @type cpu: string
    @ivar os: the OS type
    @type os: string
    @see: RFC 1035tcputoscCs/tt|ƒj||ƒ||_||_dS(N(tsuperRt__init__RR(tselftrdclasstrdtypeRR((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pyRs	cKs,dtjj|jƒtjj|jƒfS(Ns	"%s" "%s"(tdnstrdatat	_escapifyRR(Rtorigint
relativizetkw((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pytto_text$scCs5|jƒ}|jƒ}|jƒ|||||ƒS(N(t
get_stringtget_eol(tclsRRttokRRRR((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pyt	from_text(s
cCs˜t|jƒ}|dks!t‚t|ƒ}|j|ƒ|j|jƒt|jƒ}|dkskt‚t|ƒ}|j|ƒ|j|jƒdS(Ni(tlenRtAssertionErrortchrtwriteR(RtfiletcompressRtltbyte((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pytto_wire0s

c
CsÓt||ƒ}|d7}|d8}||kr?tjj‚n||||!jƒ}||7}||8}t||ƒ}|d7}|d8}||kr©tjj‚n||||!jƒ}	|||||	ƒS(Ni(tordRt	exceptiont	FormErrortunwrap(
RRRtwiretcurrenttrdlenRRRR((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pyt	from_wire<s





cCs=t|j|jƒ}|dkr9t|j|jƒ}n|S(Ni(tcmpRR(Rtothertv((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pyt_cmpOsN(
t__name__t
__module__t__doc__t	__slots__RtNonetTrueRRtclassmethodRR$R((((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pyRs	(t
dns.exceptionRt	dns.rdatat
dns.tokenizerR	tRdataR(((s;/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/HINFO.pyt<module>s
Back to Directory File Manager