ó »ÉD[c@sGddlmZddlZddlZd„Zd„Zd„ZdS(iÿÿÿÿ(tprint_functionNcCsj|d}|d}|j||j|d}|j|d}|dkr`d}|d8}n||fS(s³ get the (year, month) tuple when the maintenance for the distribution ends. Needs the data of the release and the number of months that its is supported as input i ii(tyeartmonth(t release_datetm_monthstyearstmonthstsupport_end_yeartsupport_end_month((s-/usr/lib/python2.7/dist-packages/apt/utils.pytget_maintenance_end_dates     cCsx| stjj|ƒ rdStjtj|ƒƒ}tj|ƒ}t|ƒ}d|kradS|d}tj |ƒS(sF return the release date as time_t for the given release file tDateN( tostpathtexiststNonetfdopentapt_pkgtopen_maybe_clear_signed_filetTagFiletnextt str_to_time(R tdatattagtsectiontdate((s-/usr/lib/python2.7/dist-packages/apt/utils.pyt"get_release_date_from_release_file-s   c CsŒ||krdS||}d}x…|jjD]w}|dks-|jdkrTq-nxM|jD]B\}}|j|kr^|j|kr^|j|kr^|}q^q^Wq-W|s²dS|jj|jddƒ} x¶|jj D]¨} xŸ| j D]”} | rì| j | j krì| j rìt jjdƒ} xXddgD]G} t j| jƒd| j| f}tjj| |ƒr2| |Sq2WqìqìWqÜWdS(s- get the release file that provides this pkg isDir::State::listst InReleasetReleases dists_%s_%sN(Rt_pkgt version_listt file_listtorigintlabeltarchivet_listt find_indextlistt index_filestdescribet is_trustedRtconfigtfind_dirturi_to_filenameturitdistR R R (tcachetpkgnameR treleasetpkgtvertavertver_filet_indext indexfilet metaindextmtdirnametrelfiletname((s-/usr/lib/python2.7/dist-packages/apt/utils.pytget_release_filename_for_pkg=s6   (t __future__RR RR RR;(((s-/usr/lib/python2.7/dist-packages/apt/utils.pyts