Current Path : /usr/lib/python2.7/dist-packages/apt/ |
Current File : //usr/lib/python2.7/dist-packages/apt/utils.pyc |
ó WâRc @ s7 d d l Z d d l Z d „ Z d „ Z d „ Z d S( iÿÿÿÿNc C sj | d } | d } | j | | j | d } | j | d } | d k r` d } | d 8} n | | f S( 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 i i ( t yeart month( t release_datet m_monthst yearst monthst support_end_yeart support_end_month( ( s- /usr/lib/python2.7/dist-packages/apt/utils.pyt get_maintenance_end_date s c C sf | s t j j | ƒ r d St j t | ƒ ƒ } | j ƒ } d | k rO d S| d } t j | ƒ S( sF return the release date as time_t for the given release file t DateN( t ost patht existst Nonet apt_pkgt TagFilet opent nextt str_to_time( R t tagt sectiont date( ( s- /usr/lib/python2.7/dist-packages/apt/utils.pyt"