Ñò ¾[c @s½ddkZddkZddkZddkZddkZddkZddkZddkZddkl Z ddk l Z dfd„ƒYZ dfd„ƒYZ dfd „ƒYZdS( iÿÿÿÿN(tMetaSack(tproxyt_wrap_ayum_getKeyForRepocBs&eZdZed„Zdd„ZRS(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! cCst|ƒ|_||_dS(N(tweakreftayumtca(tselfRR((s-/usr/lib/python2.6/site-packages/yum/repos.pyt__init__$scCs1|io|ii||ƒS|ii||ƒS(N(RRtgetCAKeyForRepot getKeyForRepo(Rtrepotcallback((s-/usr/lib/python2.6/site-packages/yum/repos.pyt__call__'s N(t__name__t __module__t__doc__tFalseRtNoneR (((s-/usr/lib/python2.6/site-packages/yum/repos.pyRs t RepoStoragecBséeZdZd„Zdd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z e e d „Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zddddd„ZRS(sXThis class contains multiple repositories and core configuration data about them.cCs”h|_d|_d|_tƒ|_tidƒ|_t |_ t |ƒ|_ t |ƒ|_t |dtƒ|_d|_g|_h|_dS(Nisyum.RepoStorageR(treposRR tcacheRtpkgSacktloggingt getLoggertloggerRt_setupRRRtgpg_import_functTruetgpgca_import_funct confirm_funct_cache_enabled_repostquick_enable_disable(RR((s-/usr/lib/python2.6/site-packages/yum/repos.pyR0s       c CsÇ|iiidƒ|djo|iƒ}n|i|ƒ}t|ƒdjo|iidƒnt t dƒoœt t i dƒo‰h}x€|iƒD]n}|i o^t ii|i ƒ}|i||ƒ}|i |i jo d}ti|||f‚q qœqœWnx’|D]Š}|i|iii|iid|id|id |iƒ|ip|i|iƒqt|iid dƒ}|o ||_qqWt|_ |iiid ƒdS( Nt prereposetupis#No Repositories Available to Set Uptgrabbertpycurls/sslclientcert basename shared between %s and %sRRRt downloaddirt postreposetup(!RtpluginstrunRt listEnabledt findRepostlenRtdebugthasattrt urlgrabberR!t sslclientcerttostpathtbasenamet setdefaulttErrorst ConfigErrortsetuptconfRt mediagrabberRRRtenabledt disableRepotidtgetattrtpkgdirRR( RtthisrepoRtcert_basenamesR tbntothertmsgR;((s-/usr/lib/python2.6/site-packages/yum/repos.pytdoSetupGs:   &   cCst|iiƒƒS(N(tstrRtkeys(R((s-/usr/lib/python2.6/site-packages/yum/repos.pyt__str__pscCs|iƒdS(N(tclose(R((s-/usr/lib/python2.6/site-packages/yum/repos.pyt__del__sscCs(x!|iiƒD]}|iƒqWdS(N(RtvaluesRE(RR ((s-/usr/lib/python2.6/site-packages/yum/repos.pyREvscCs©|i|ijotid|i‚n||i|is      ÿ*