MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //usr/lib/python2.4/site-packages/dns/ttl.pyc
mņ
!`Nc@s8dZdkZdeiifd„ƒYZd„ZdS(sDNS TTL conversion.NtBadTTLcBstZRS(N(t__name__t
__module__(((t+/usr/lib/python2.4/site-packages/dns/ttl.pyRscCs„|iƒot|ƒ}n:|diƒp
t‚nd}d}xņ|D]ź}|iƒo|d9}|t|ƒ7}qK|iƒ}|djo||d7}n‰|djo||d7}nj|djo||d	7}nK|d
jo||d7}n,|djo||7}ntd
|ƒ‚d}qKW|djptdƒ‚n|djp
|djotdƒ‚n|S(sūConvert the text form of a TTL to an integer.

    The BIND 8 units syntax for TTLs (e.g. '1w6d4h3m10s') is supported.

    @param text: the textual TTL
    @type text: string
    @raises dns.ttl.BadTTL: the TTL is not well-formed
    @rtype: int
    ili
twl€:tdl€Qthltml<tssunknown unit '%s'strailing integerl’’s0TTL should be between 0 and 2^31 - 1 (inclusive)N(ttexttisdigittlongttotalRtcurrenttctlower(R	RR
R((Rt	from_texts<	










(t__doc__t
dns.exceptiontdnst	exceptiontSyntaxErrorRR(RRR((Rt?s