Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Oc @sXddkZddkZddkZy eZWn1ej o%ddkZeiZeiZnXda ddZ e dZ da e dZdae dZdae dZdae dZe dZe d Zd efd YZd efd YZdZdZe dZdZdZedjo endS(iNc Csddkl}l}tpktiidoT|}y|itdWn't j o}|GHt i dnX|aqnto>|o7yti d|}Wn|j o t nX|SdS(Ni(tSafeConfigParsert NoOptionErrors!/usr/share/python/debian_defaultsitDEFAULT(t ConfigParserRRt _defaultstostpathtexiststreadfptfiletIOErrortsystexittgett ValueErrortNone(tnameRRtconfigtmsgtvalue((s/usr/share/python/pyversions.pyt read_default s"  c Csrddk}h|id6|id6|id6|id6|id6}h}tg}ttdtt dt}t }xa|i dD]P}|i }|djod|d=s<=s<=|<=|<<|=)? *(\d\.\d)$s&error parsing Python-Version attributeiit.tvexact(scurrentR(NR(toperatorteqRtgetletlttsettsupported_versionstTruet old_versionstFalsetsplittstript setdefaulttretcompiletmatchRtgrouptaddt Exceptiontunion(tvstringt add_exactRt operatorstvinfotexact_versionst version_ranget relop_seentfieldtvetmtoptvtvmajtvmintfiltopt_[1]tav((s/usr/share/python/pyversions.pytparse_versions sZ          9   c Cstp`y@td}g}|idD]}||iq*~aWqgtj o gaqgXn|o$g}tD]}||dqy~StSdS(Ns old-versionsRi(t _old_versionsRR(R)R(RRRAtst_[2]R=((s/usr/share/python/pyversions.pyR&Vs 4$c Cstp`y@td}g}|idD]}||iq*~aWqgtj o gaqgXn|o$g}tD]}||dqy~StSdS(Nsunsupported-versionsRi(t_unsupported_versionsRR(R)R(RRRARERFR=((s/usr/share/python/pyversions.pytunsupported_versionsds 4$c Cstpy@td}g}|idD]}||iq*~aWqtj o6ddddg}y=ddk}|i|dd d td |i}|i }Wn+t j ot i d i |}nXd}xG|D]?} | id o)| idd d iid}qqW|i|o:g} |D]}| tidd|qA~ }|antpddgaqqXn|o$g} tD]} | | dq~ StSdS(Nssupported-versionsRs/usr/bin/apt-caches--no-all-versionstshows python-allitbufsizeitshelltstdoutt sDepends:t:s\s*(\S+)[ (]?.*s\1s python2.5s python2.6i(t_supported_versionsRR(R)Rt subprocesstPopenR'tPIPERLt ImportErrorRtpopentjoinRt startswithtcloseR+tsub( RRRAREtcmdRPtptfdtdependstlineRFt_[3]R=((s/usr/share/python/pyversions.pyR$rs8 4   - 0 $c CsitpJytida}Wntj odayLdddg}ddk}|i|dddtd|i}|i }Wn"t j oti d }nX|i i }|itid |od |aqnXytd }Wntj o d }nXt|tiid|fjotd|n|an|o tdStSdS(Ns/usr/bin/pythons-cs!import sys; print sys.version[:3]iRJiRKRLs6/usr/bin/python -c 'import sys; print sys.version[:3]'s\d\.\d$tpythonsdefault-versions python2.6s/usr/binsZ/usr/bin/python does not match the python default version. It must be reset to point to %si(t_default_versionRtreadlinktOSErrorRRPRQR'RRRLRSRTtreadlineR)RWR+R-RRRRU(RtlinkRYRPRZR[R]tdebian_default((s/usr/share/python/pyversions.pytdefault_versions6    "  cCs7d}t|dt}tdt}t|djold|jo |}qd|jotdtg}qd|jo|d}q|di|}nHd|jod|jo tdn!d|joVd|jo|di|}n t|}d|jo|i |dqnd|jo:tdt}||djo td n|g}nwd|jp d|joSt}d|jo|di|}nd|jo|i |dqn td |ptd n|o|Sg}|D]}|d |q~SdS( NR3RiRRRRs*both `current' and `all' in version strings+`current' version not in supported versionss$No Python versions in version strings+computed set of supported versions is emptyspython%s( RRCR%R$tlenRft intersectionRR#tupdate(R2RRR5t supportedRRAR=((s/usr/share/python/pyversions.pytrequested_versionssH                cCsddk}t}g}|idD]6}tii||jo|tii|q)q)~}|i|o$g}|D]}||dq~S|SdS(Nis/usr/bin/python[0-9].[0-9]i(tglobR$RRtbasenametsort(RRlRjRARERRFR=((s/usr/share/python/pyversions.pytinstalled_versionss  9 $tControlFileValueErrorcBseZRS((t__name__t __module__(((s/usr/share/python/pyversions.pyRpstMissingVersionValueErrorcBseZRS((RqRr(((s/usr/share/python/pyversions.pyRsscCsd}d}d}yt|d}Wn1tj o%}d||fGHtidnXx*|D]"}|i}|djo0|djoq`n|djoPnd}q`|ido d}q`|id|o |}q`|idp|id o:|djo td n|id d d i}q`|id o1||jo |id d d i}qq`q`W|djo t dn|djo|djo t dn|S|djot d|n|S(sread the debian/control file, extract the X-Python-Version or XS-Python-Version field; check that XB-Python-Version exists for the package.trsCannot open %s: %sittSourcesSource:s Package: sXS-Python-Version:sX-Python-Version:s3attribute X(S)-Python-Version not in Source sectionRNisXB-Python-Version:snot a control files+missing X(S)-Python-Version in control files)missing XB-Python-Version for package `%sN( RR R R R R)RVRR(RpRs(tfntpkgtversiontsversiontsectiontfpRR]((s/usr/share/python/pyversions.pytextract_pyversion_attributesP            (      cCsmg}|idD]}|t|q~}g}|idD]}|t|qD~}t||S(NR(R(tinttcmp(tver1tver2RAtitv1RFtv2((s/usr/share/python/pyversions.pyt version_cmps00c Cszg}tdt}x |idD]}|id}t|djo|dp|d|dsc Cs ddkl}d}|d|}|iddddd d d d |id dddd d d d|iddddd d d d|iddddd d d d|iddddd td d d d|i\}}tiiti d}|i o[t |djoHyt |i GHWq tj o#}d|G|GHtidq Xn|io.t |djod it|i GHnm|io.t |djod it|i GHn5|iot |djot |djo d!}n |d}ytii|oO|}y%t|d"} t| |i } Wqtj o.tiid#||ftidqtj otiitii|d$}tiid%||fy"t|} t| |i } Wqzt j o*tiid&|t|i } qzXqtj o0} tiid'|| ftid(qXnt||i } d i| GHWq tj o0}tiid'||ftidq Xn(tiid)||ftiddS(*Ni(t OptionParsersk[-v] [-h] [-d|--default] [-s|--supported] [-i|--installed] [-r|--requested |]tusages-ds --defaultthelps print the default python versiontactiont store_truetdesttdefaults-ss --supporteds#print the supported python versionsRjs-rs --requestedsprint the python versions requested by a build; the argument is either the name of a control file or the value of the X(S)-Python-Version attributet requesteds-is --installeds-print the installed supported python versionst installeds-vs --versions print just the version number(s)Ris%s:iRMsdebian/controlRvs%s: not a control file: %s, t pyversionssA%s: missing X(S)-Python-Version in control file, fall back to %s sD%s: missing debian/pyversions file, fall back to supported versions s%s: %s is usage: %s %s (!toptparseRt add_optionR't parse_argsRRRmR targvRRgRfRRR RjRUR$RRoRtisfileR}RkRptstderrtwriteRstdirnameRRR ( RRtparsertoptstargstprogramRRRwR2tvste((s/usr/share/python/pyversions.pytmainBs        !   t__main__( RR+R R#tSetTypet NameErrortsetstSetRRRR'RCRDR&RGRHROR$R`RfRkRoRRpRsR}RRRRRq(((s/usr/share/python/pyversions.pyts8$     5   ! *  /    G