Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
yum
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/yum/repos.pyo
m FOc @ s d k Z d k Z d k Z d k Z d k Z d k Z d k l Z d k l Z d f d YZ d f d YZ d f d YZ d S( N( s MetaSack( s proxyt _wrap_ayum_getKeyForRepoc B s# t Z d Z d Z e d Z RS( sc This is a wrapper for calling YumBase.getKeyForRepo() because otherwise we take a real reference through the bound method and that is d00m (this applies to YumBase and RepoStorage, hence why we have a seperate class). A "better" fix might be to explicitly pass the YumBase instance to the callback ... API change! c C s t | | _ d S( N( t weakreft ayumt self( R R ( ( t- /usr/lib/python2.4/site-packages/yum/repos.pyt __init__# s c C s | i i | | S( N( R R t getKeyForRepot repot callback( R R R ( ( R t __call__% s ( t __name__t __module__t __doc__R t NoneR ( ( ( R R s t RepoStoragec B s t Z d Z d Z e d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d d e d d Z RS( sX This class contains multiple repositories and core configuration data about them.c C sm h | _ d | _ d | _ t | _ t i d | _ t | _ t | | _ t | | _ d | _ d S( Ni s yum.RepoStorage( R t reposR R t cachet MetaSackt pkgSackt loggingt getLoggert loggert Falset _setupR R R t gpg_import_funct confirm_func( R R ( ( R R , s c C s | i i i d | d j o | i } n | i | } t | d j o | i i d n x? | D]7 } | i | i i i | i i d | i d | i qm Wt | _ | i i i d d S( Nt prereposetupi s# No Repositories Available to Set UpR R t postreposetup( R R t pluginst runt thisrepoR t listEnabledR t findRepost lenR t debugR t setupt confR t mediagrabberR R t TrueR ( R R R R ( ( R t doSetup>