| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/yum/ |
Upload File : |
7Jc @ s d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z d d k l Z d d
d YZ
d d d YZ d d d YZ d S(
iN( t MetaSack( t proxyt _wrap_ayum_getKeyForRepoc B s# e Z d Z d Z d 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 ayum( t selfR ( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyt __init__# s c C s | i i | | S( N( R t
getKeyForRepo( R t repot callback( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyt __call__% s N( t __name__t
__module__t __doc__R t NoneR
( ( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyR s t RepoStoragec B s e Z d Z d Z d 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 d d d Z RS( sX This class contains multiple repositories and core configuration data
about them.c C s h | _ d | _ d | _ t | _ t i d | _ t | _
t | | _ t
| | _ d | _ g | _ h | _ d S( Ni s yum.RepoStorage( t reposR R t cacheR t pkgSackt loggingt getLoggert loggert Falset _setupR R R t gpg_import_funct confirm_funct _cache_enabled_repost quick_enable_disable( R R ( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyR , 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 t pluginst runR t listEnabledt findRepost lenR t debugt setupt confR t mediagrabberR R t TrueR ( R t thisrepoR R ( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyt doSetupB s
c C s t | i i S( N( t strR t keys( R ( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyt __str__U s c C s | i d S( N( t close( R ( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyt __del__X s c C s( x! | i i D] } | i q Wd S( N( R t valuesR- ( R R ( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyR- [ s c C s} | i i | i o t i d | i n | | i | i <t | d o# | i i | i | i | _ n
d | _ d S( Ns; Repository %s is listed more than once in the configurationR (
R t has_keyt idt Errorst DuplicateRepoErrort hasattrR t updateR R ( R t repoobj( ( s- /usr/lib/python2.6/site-packages/yum/repos.pyt add_ s c C s<