KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/root/usr/lib/python2.4/site-packages/dogtail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/lib/python2.4/site-packages/dogtail/version.pyo
mò
83Dc@sidZdZdkZdkZdfd„ƒYZdeifd„ƒYZedjoeiƒndS(sSHandles versioning of software packages

Author: Dave Malcolm <dmalcolm@redhat.com>s"Dave Malcolm <dmalcolm@redhat.com>NtVersioncBsttZdZd„Zd„ZeeƒZd„Zd„Zd„Zd„Z	d„Z
d„Zd	„Zd
„Z
RS(s¼
    Class representing a version of a software package.
    Stored internally as a list of subversions, from major to minor.
    Overloaded comparison operators ought to work sanely.
    cCs
||_dS(N(tversionListtself(RR((t3/usr/lib/python2.4/site-packages/dogtail/version.pyt__init__scCsttt|idƒƒƒS(sA
        Parse a string of the form number.number.number
        t.N(Rtmaptintt
versionStringtsplit(R((Rt
fromStringscCsditt|iƒƒS(NR(tjoinRtstrRR(R((Rt__str__scCsvt|iƒ}x%t|ƒdjo|dg7}qWd}x2tt|ƒƒD]}|d9}|||7}qPW|S(Niiiè(tlistRRttmpListtlentnumtrangeti(RRRR((Rt__getNums
cCs|iƒ|iƒjS(N(Rt_Version__getNumtother(RR((Rt__lt__(scCs|iƒ|iƒjS(N(RRR(RR((Rt__le__*scCs|iƒ|iƒjS(N(RRR(RR((Rt__eq__,scCs|iƒ|iƒjS(N(RRR(RR((Rt__ne__.scCs|iƒ|iƒjS(N(RRR(RR((Rt__gt__0scCs|iƒ|iƒjS(N(RRR(RR((Rt__ge__2s(t__name__t
__module__t__doc__RR
tstaticmethodR
RRRRRRR(((RR	s									tVersionTestscBsPtZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(	NcCsdS(N((R((RttestLt6scCsdS(N((R((RttestLe:scCsdS(N((R((RttestEq>scCsdS(N((R((RttestNeBscCsdS(N((R((RttestGtFscCsdS(N((R((RttestGeJscCsdS(N((R((RttestStrNscCsdS(N((R((RttestParsingQs(
RRR"R#R$R%R&R'R(R)(((RR!5s							t__main__(	Rt
__author__tretunittestRtTestCaseR!Rtmain(R-R+R,RR!((Rt?s		,!


Anon7 - 2021