MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/root/proc/2/task/2/root/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