Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
rpmUtils
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/rpmUtils/updates.pyc
m FOc @ s; d k Z d k Z d k Z d Z d f d YZ d S( Nc C s t i i | | S( N( t rpmUtilst miscutilst compareEVRt tup1t tup2( R R ( ( t4 /usr/lib/python2.4/site-packages/rpmUtils/updates.pyt _vertup_cmp s t Updatesc B s t Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d d Z d Z d Z d Z d Z e e d Z e e d Z e e d Z d e e d Z d e e d Z d e e d Z d e d Z e e 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, epoch, ver, rel, arch 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 | | _ | | _ h | _ d | _ h | _ h | _ d | _ t d d d d d d d g | _ t i i | _ | i | i d | _ | i | i d | _ h | _ h | _ d | _ h | _ d S( Ni t kernels kernel-smpt glibcs kernel-hugemems kernel-enterprises kernel-bigmems kernel-BOOTi ( t instlistt selft installedt availlistt availablet rawobsoletest Nonet _obsoletes_by_namet obsoleted_dictt obsoleting_dictt exactarcht sett exactarchlistR t archt canonArcht myarcht makeNADictt installdictt availdictt updatesdictt updating_dictt debugt obsoletes( R R R ( ( R t __init__ s $ c C s\ xU | D]M } | i | p q n t | i | | | | <| | p | | =q q Wd S( N( t keyst keyt dict_t has_keyt filtert valuet __ne__( R R$ R"