MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
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