ok
Direktori : /proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/rpmUtils/ |
Current File : //proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/rpmUtils/updates.pyc |
� 8M�bc @ sD d d l Z d d l Z d d l Z d � Z d d d � � YZ d S( i����Nc C s t j j | | � S( N( t rpmUtilst miscutilst compareEVR( t tup1t tup2( ( s4 /usr/lib/python2.7/site-packages/rpmUtils/updates.pyt _vertup_cmp s t Updatesc B s e Z d Z d � Z d � Z d � Z d � Z d � Z d d � Z d � Z d � Z d � Z d d � Z d � Z d � Z d � Z d � Z d d d � Z d d d � Z d d d � Z d d d d � Z d d d d � Z d d d d � Z d d d � Z d d d � Z d � Z RS( sM This class computes and keeps track of updates and obsoletes. initialize, add installed packages, add available packages (both as unique lists of name, arch, ver, rel, epoch tuples), add an optional dict of obsoleting packages with obsoletes and what they obsolete ie:: foo, i386, 0, 1.1, 1: bar >= 1.1. c C s | | _ | | _ i | _ d | _ i | _ i | _ d | _ t d d d d d d d g � | _ t j j | _ t j j | j � | _ t j j | j � | _ t j j | j � | _ | j | j d � | _ | j | j d d | j �| _ i | _ i | _ d | _ i | _ d S( Ni t kernels kernel-smpt glibcs kernel-hugemems kernel-enterprises kernel-bigmems kernel-BOOTi t filter( t installedt availablet rawobsoletest Nonet _obsoletes_by_namet obsoleted_dictt obsoleting_dictt exactarcht sett exactarchlistR t archt canonArcht myarcht isMultiLibArcht _is_multilibt getArchListt _archlistt getMultiArchInfot _multilib_compat_archest makeNADictt installdictt availdictt updatesdictt updating_dictt debugt obsoletes( t selft instlistt availlist( ( s4 /usr/lib/python2.7/site-packages/rpmUtils/updates.pyt __init__ s, c C sU xN | D]F } | | k r q n t | j | | � | | <| | s | | =q q Wd S( N( R t __ne__( R$ t dict_t keyst valuet key( ( s4 /usr/lib/python2.7/site-packages/rpmUtils/updates.pyt _delFromDictE s c C s� | \ } } } } } xx | d f D]j } | | f | k r"