KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/root/usr/lib/python2.4/site-packages/yum/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/lib/python2.4/site-packages/yum/config.pyc
mò
üüPc@sVdZdkZdkZdkZdkZdkZdklZdkl	Z	dk
lZlZl
Z
dk
lZdkZdkZdkZeZeZdefd„ƒYZd„Zd	efd
„ƒYZdefd„ƒYZd
efd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZ defd„ƒYZ!de!fd„ƒYZ"defd„ƒYZ#de#fd „ƒYZ$d!efd"„ƒYZ%d#e%fd$„ƒYZ&d%e&fd&„ƒYZ'd'e%fd(„ƒYZ(d)„Z)d*„Z*d+„Z+d,„Z,d-„Z-dd.„Z/dS(/s2
Configuration parser and default values for yum.
N(sConfigPreProcessor(s	INIConfig(sNoSectionErrors
NoOptionErrorsConfigParser(sParsingErrortOptioncBsYtZdZed„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„ZRS(	sø
    This class handles a single Yum configuration file option. Create
    subclasses for each type of supported configuration option.
    
    Python descriptor foo (__get__ and __set__) is used to make option
    definition easy and consise.
    cCs |iƒt|_||_dS(N(tselft_setattrnametFalsetinherittdefault(RR((t./usr/lib/python2.4/site-packages/yum/config.pyt__init__0s
	cCsdt|ƒ|_dS(smCalculate the internal attribute name used to store option state in
        configuration instances.
        s__opt%dN(tidRt	_attrname(R((RR5scCs(|djo|Snt||idƒS(sCCalled when the option is read (via the descriptor protocol). 

        @param obj: The configuration instance to modify.
        @param objtype: The type of the config instance (not used).
        @return: The parsed option value or the default value if the value
            wasn't set in the configuration file.
        N(tobjtNoneRtgetattrR	(RR
tobjtype((Rt__get__;s
cCsrt|tƒoKy|i|ƒ}Wq[tj
o%}td|t|ƒfƒ‚q[Xnt||i
|ƒdS(sÑCalled when the option is set (via the descriptor protocol). 

        @param obj: The configuration instance to modify.
        @param value: The value to set the option to.
        @return: Nothing.
        sError parsing %r: %sN(t
isinstancetvaluet
basestringRtparset
ValueErrortetstrtsetattrR
R	(RR
RR((Rt__set__Is%cCs#t||iti|iƒƒdS(sßInitialise the option for a config instance. 
        This must be called before the option can be set or retrieved. 

        @param obj: BaseConfig (or subclass) instance.
        @param name: Name of the option.
        N(RR
RR	tcopyR(RR
tname((RtsetupZscCsti|ƒ}|iƒ|S(s3Return a safe copy of this Option instance
        N(RRtnewR(RR((Rtclonecs
cCs|S(sParse the string value to the Option's native value.

        @param s: Raw string value to parse.
        @return: Validated native value.
    
        Will raise ValueError if there was a problem parsing the string.
        Subclasses should override this.
        N(ts(RR((RRjscCs
t|ƒS(sConvert the Option's native value to a string value.

        @param value: Native option value.
        @return: String representation of input.

        This does the opposite of the parse() method above.
        Subclasses should override this.
        N(RR(RR((Rttostringus(t__name__t
__module__t__doc__RRRRRRRRR(((RR's							cCs|iƒ}t|_|S(s]Clone an Option instance for the purposes of inheritance. The returned
    instance has all the same properties as the input Option and shares items
    such as the default value. Use this to avoid redefinition of reused
    options.

    @param option_obj: Option instance to inherit.
    @return: New Option instance inherited from the input.
    N(t
option_objRt
new_optiontTrueR(R"R#((RtInherit€s	t
ListOptioncBs,tZdZed„Zd„Zd„ZRS(s1
    An option containing a list of strings.
    cCs1|djo
g}ntt|ƒi|ƒdS(N(RRtsuperR&RR(RR((RR“s

cCs.|iddƒ}|iddƒ}|iƒS(sConverts a string from the config file to a workable list

        Commas and spaces are used as separators for the list
        s
t t,N(Rtreplacetsplit(RR((RR˜scCs
di|ƒS(Ns
 (tjoinR(RR((RR£s(RR R!RRRR(((RR&s	t	UrlOptioncBs2tZdZeded„Zd„Zd„ZRS(	sN
    This option handles lists of URLs with validation of the URL scheme.
    thttptftptfilethttpscCs,tt|ƒi|ƒ||_||_dS(N(R'R-RRRtschemest
allow_none(RRR2R3((RR«s	cCs–|iƒ}|iƒdjo"|iodSqAtdƒ‚nti|ƒ\}}}}}}||ijo td|iƒ|fƒ‚n|S(Nt_none_s"_none_" is not a valid valuesURL must be %s not "%s"(turltstriptlowerRR3RRturlparseRtbtptqtftoR2t_schemelist(RR5R9R<R=R;R:R((RR±s
! cCslt|iƒdjodSnKt|iƒdjo|idSn&ddi|id ƒ|idfSdS(s;Return a user friendly list of the allowed schemes
        itemptyis%s or %ss, iÿÿÿÿN(tlenRR2R,(R((RR>Âs(R.R/sfileR1(RR R!RRRRR>(((RR-¦s	t
UrlListOptioncBs&tZdZedd„Zd„ZRS(sN
    Option for handling lists of URLs with validation of the URL scheme.
    R.R/R0R1cCs,tt|ƒi|ƒtd|ƒ|_dS(NR2(R'RARRRR-R2t
_urloption(RRR2((RRÑscCsFg}x9tt|ƒi|ƒD]}|i|ii|ƒƒqW|S(N(	toutR'RARRRR5tappendRB(RRR5RC((RR×s
(shttpsftpsfileshttps(RR R!RRR(((RRAÌst	IntOptioncBs)tZdZeeed„Zd„ZRS(s2
    An option representing an integer value.
    cCs,tt|ƒi|ƒ||_||_dS(N(	R'RERRRt	range_mint
_range_mint	range_maxt
_range_max(RRRFRH((RRäs	cCsžyt|ƒ}Wn'ttfj
o}tdƒ‚nX|idj	o ||ijotdƒ‚n|i	dj	o ||i	jotdƒ‚n|S(Nsinvalid integer valuesout of range integer value(
tintRtvalRt	TypeErrorRRRIRRG(RRRRK((RRés  (RR R!RRR(((RREÞstPositiveIntOptioncBs,tZdZedeed„Zd„ZRS(sg
    An option representing a positive integer value, where 0 can have a special
    represention.
    icCs)tt|ƒi|||ƒ||_dS(N(	R'RMRRRRFRHt
names_of_0t_names0(RRRFRHRN((RRûscCs.||ijodSntt|ƒi|ƒS(Ni(RRROR'RMR(RR((RRs(RR R!RRR(((RRMôst
SecondsOptioncBsMtZdZhdddd<ddd<dd<dd<Zd„ZRS(	sÕ
    An option representing an integer value of seconds, or a human readable
    variation specifying days, hours, minutes or seconds until something
    happens. Works like BytesOption.
    Note that due to historical president -1 means "never", so this accepts
    that and allows the word never too.

    Valid inputs: 100, 1.5m, 90s, 1.2d, 1d, 0xF, 0.1, -1, never
    Invalid inputs: -10, -0.1, 45.6Z, 1d6h, 1day, 1y

    Return value will always be an integer
    tdi<ithtmRicCst|ƒdjotdƒ‚n|djp
|djodSn|diƒoN|d }|diƒ}|ii	|dƒ}|ptd|ƒ‚q°n
|}d}yt|ƒ}Wn'tt
fj
o}tdƒ‚nX|djotd	ƒ‚nt||ƒS(
Nisno value specifieds-1tneveriÿÿÿÿsunknown unit '%s's
invalid valueis!seconds value may not be negative(R@RRtisalphatnR7tunitRtMULTStgetRtmulttfloatRLRRJ(RRRRVRZRW((RRs&

(RR R!RXR(((RRPs
6t
BoolOptioncBs tZdZd„Zd„ZRS(sm
    An option representing a boolean value.

    The value can be one of 0, 1, yes, no, true, or false.
    cCsF|iƒ}|djotSn"|d	jotSn
tdƒ‚dS(
Nt0tnotfalset1tyesttruesinvalid boolean value(R]R^R_(R`RaRb(RR7RR$R(RR((RR7s

cCs|odSndSdS(NR`R](R(RR((RR@s(RR R!RR(((RR\/s		tFloatOptioncBstZdZd„ZRS(s7
    An option representing a numeric float value.
    cCs@yt|iƒƒSWn%ttfj
otdƒ‚nXdS(Nsinvalid float value(R[RR6RRL(RR((RRJs(RR R!R(((RRcFstSelectionOptioncBs)tZdZefhd„Zd„ZRS(sAHandles string values where only specific values are allowed
    cCs,tt|ƒi|ƒ||_||_dS(N(	R'RdRRRtallowedt_allowedtmappert_mapper(RRReRg((RRSs	cCsI||ijo|i|}n||ijotd|ƒ‚n|S(Ns"%s" is not an allowed value(RRRhRfR(RR((RRXs
(RR R!RRR(((RRdPstCaselessSelectionOptioncBstZdZd„ZRS(s_ Mainly for compat. with BoolOption, works like SelectionOption but
        lowers input case. cCstt|ƒi|iƒƒS(N(R'RiRRRR7(RR((RRcs(RR R!R(((RRi_stBytesOptioncBsDtZdZhdd<ddd<dddd<Zd„ZRS(s|
    An option representing a value in bytes.

    The value may be given in bytes, kilobytes, megabytes, or gigabytes.
    tkiRStgcCsït|ƒdjotdƒ‚n|diƒoN|d }|diƒ}|ii	|dƒ}|ptd|ƒ‚qŽn
|}d}yt|ƒ}Wn#tj
otd|ƒ‚nX|djotdƒ‚nt
||ƒS(	sûParse a friendly bandwidth option to bytes

        The input should be a string containing a (possibly floating point)
        number followed by an optional single character unit. Valid units are
        'k', 'M', 'G'. Case is ignored.
       
        Valid inputs: 100, 123M, 45.6k, 12.4G, 100K, 786.3, 0
        Invalid inputs: -10, -0.1, 45.6L, 123Mb

        Return value will always be an integer

        1k = 1024 bytes.

        ValueError will be raised if the option couldn't be parsed.
        isno value specifiediÿÿÿÿsunknown unit '%s'scouldn't convert '%s' to numberisbytes value may not be negativeN(R@RRRURVR7RWRRXRYRRZR[RJ(RRRVRZRW((RRts$

(RR R!RXR(((RRjfs-tThrottleOptioncBstZdZd„ZRS(sv
    An option representing a bandwidth throttle value. See
    ThrottleOption.parse for acceptable input values.
    cCs¾t|ƒdjotdƒ‚n|ddjov|d }yt|ƒ}Wn#tj
otd|ƒ‚nX|djp
|djotdƒ‚n|d	Snti||ƒSd
S(s¼Get a throttle option. 

        Input may either be a percentage or a "friendly bandwidth value" as
        accepted by the BytesOption.

        Valid inputs: 100, 50%, 80.5%, 123M, 45.6k, 12.4G, 100K, 786.0, 0
        Invalid inputs: 100.1%, -4%, -500

        Return value will be a int if a bandwidth value was specified or a
        float if a percentage was given.

        ValueError will be raised if input couldn't be parsed.
        isno value specifiediÿÿÿÿt%scouldn't convert '%s' to numberiidspercentage is out of rangef100.0N(R@RRRVR[RjRR(RRRV((RR¢s

(RR R!R(((RRm›st
BaseConfigcBstZdZd„Zd„Zed„Zed„Ze	eƒZd„Z
e	e
ƒZ
d„Zd„Zefd„Z
ed	„Zd
„ZRS(sk
    Base class for storing configuration definitions. Subclass when creating
    your own definitons.
    cCsCd|_x3|iƒD]%}|i|ƒ}|i||ƒqWdS(N(RRt_sectiontiterkeysRt	optionobjtoptionR(RRsR((RRÅs
	
cCs[g}|id|iƒx1|iƒD]#\}}|id||fƒq'Wdi|ƒS(Ns[%s]s%s: %rs
(RCRDRRpt	iteritemsRRR,(RRRRC((Rt__str__Ìs
cCsÜ||_||_|i|ƒot|i|ƒƒ}n
tƒ}x‘|i	ƒD]ƒ}|i|ƒ}d}||jo|i||ƒ}n%|o|iot||ƒ}n|dj	ot|||ƒqQqQWdS(s$Set option values from a INI file section.

        @param parser: ConfParser instance (or subclass)
        @param section: INI file section to read use.
        @param parent: Optional parent BaseConfig (or subclass) instance to use
            when doing option value inheritance.
        N(tparserRtcfgtsectionRpthas_sectiontsettoptionstoptsRqRRrRsRRRYtparentRRR(RRvRxR}RRR|Rs((RtpopulateÓs 			


cCsCt||dƒ}t|tƒo|Sn|o
t‚ndSdS(s6Return the Option instance for the given name
        N(	RtclsRRR
RRt
exceptionstKeyError(RRR€R
((RRrïs
cCs|i|dtƒdj	S(sBReturn True if the given name refers to a defined option 
        R€N(RRrRRR(RR((Rtisoptionûsccs3x,t|ƒD]}|i|ƒo|Vq
q
WdS(s@Yield the names of all defined options in the instance.
        N(tdirRRR‚(RR((RRqs

ccs.x'|iƒD]}|t||ƒfVq
WdS(s‡Yield (name, value) pairs for every option in the instance.

        The value returned is the parsed, validated option value.
        N(RRqRR(RR((RRts
cCsæ|djo-|idjotdƒ‚n|i}n|ii|ƒ}xƒ|iƒD]u\}}|i|ƒ}|djp*||jp|i|jp
||jo#|ii|||i|ƒƒqYqYW|ii|ƒdS(sÅWrite out the configuration to a file-like object

        @param fileobj: File-like object to write to
        @param section: Section name to use. If not-specified the section name
            used during parsing will be used.
        @param always: A sequence of option names to always write out.
            Options not listed here will only be written out if they are at
            non-default values. Set to None to dump out all options.
        s!not populated, don't know sectionN(RxRRRpRRwR{t
cfgOptionsRtRRRrRstalwaysRRzRtwritetfileobj(RR‡RxR…R„RRRs((RR†s	


7'cCs5tidtƒt||ƒot||ƒSn|S(NsxgetConfigOption() will go away in a future version of Yum.
Please access option values as attributes or using getattr().(twarningstwarntDeprecationWarningthasattrRRsRR(RRsR((RtgetConfigOption*s
	cCsHtidtƒt||ƒot|||ƒnti	d|‚dS(NsusetConfigOption() will go away in a future version of Yum.
Please set option values as attributes or using setattr().sNo such option %s(
RˆR‰RŠR‹RRsRRtErrorstConfigError(RRsR((RtsetConfigOption2s
	(RR R!RRuRR~R$RrtclassmethodR‚RqRtR†RŒR(((RRo¿s		
				tStartupConfcBs¤tZdZedddƒZedddƒZedƒZedƒZedƒZ	e
eƒZe
ddgƒZe
d	gƒZe
eƒZeƒZed
ƒZRS(s¹
    Configuration option definitions for yum.conf's [main] section that are
    required early in the initialisation process or before the other [main]
    options can be parsed. 
    iii
sredhat-releaset/s/etc/yum/yum.confs/usr/share/yum-pluginss/usr/lib/yum-pluginss/etc/yum/pluginconf.dt
LOG_DAEMON(RR R!REt
debuglevelt
errorlevelRtdistroverpkgtinstallroottconfig_file_pathR\RtpluginsR&t
pluginpathtpluginconfpatht
gaftonmodetsyslog_identtsyslog_facility(((RR‘;s	tYumConfcBsítZdZedddgƒZedddƒZeeƒZ	e
dƒZe
dƒZeeƒZ
e
d	ƒZed
dgƒZe
ƒZeeƒZe
ƒZe
ƒZeƒZeƒZe
dƒZed
dGdeƒZe
ƒZe
ƒZedddddddddddgƒZedddddd gƒZeddddd!ddgƒZeddd"dddddgƒZ eƒZ!eeƒZ"eeƒZ#eeƒZ$eeƒZ%eeƒZ&eeƒZ'eeƒZ(ee)ƒZ*ee+ƒZ,eeƒZ-eeƒZ.eeƒZ/eeƒZ0eeƒZ1ed#d$gƒZ2e3d%ƒZ4e5dƒZ6e7dƒZ8e9d&dHƒZ:e;d)d)d*ƒZ<e;d)d)d+ƒZ=eeƒZ>eƒZ?eeƒZ@e9d,dIƒZAe9d&dJƒZBe
d2ƒZCe9d3dKd6hd7d5<d8d5<d9d5<d:d5<d;d4<d<d4<dd4<d=d4<d>d3<d?d3<ƒZDe
d@ƒZEe
dAƒZFe
dBƒZGe
dCƒZHe
dDƒZIe
dEƒZJe
dFƒZKe
dBƒZLe
dBƒZMe
d@ƒZNe
dBƒZOe
d@ƒZPgZQRS(Ls€
    Configuration option definitions for yum.conf's [main] section.

    Note: see also options inherited from StartupConf
    i
RNs	<forever>iRFis/var/cache/yums/var/lib/yums/var/log/yum.logs/etc/yum/repos.ds/etc/yum.repos.dtpriorityR2R.R/R1R3tkernels
kernel-bigmemskernel-enterprises
kernel-smpskernel-modulesskernel-debugskernel-unsupporteds
kernel-sourceskernel-devels
kernel-PAEskernel-PAE-debugiiR]s<off>skernel-BOOTskernel-hugememt	mandatoryRf30.0talltnonetpackagesi<iis
group:primarytinstants	group:alls
group:mainsgroup:smalltbestsbhttps://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yumtautoRTR…RgtonRaR`RbtoffR^R_tttysif-ttytboldsbold,yellowtnormalsbold,reds	bold,bluesdim,cyansbold,underline,green(shttpsftpshttps(R¤R¥sall(R¦s	group:alls
group:mainsgroup:smalls
group:primary(R§sall(R¨sneversalways(RRR R!RMtretriesREtrecentR\R$t
reset_niceRtcachedirt
persistdirt	keepcachetlogfileR&treposdirt	sslcacertRt	sslverifyt
sslclientcerttsslclientkeytcommandstexcludetfailovermethodR-tproxytproxy_usernametproxy_passwordtinstallonlypkgstinstallonly_limittkernelpkgnamest
exactarchlistttsflagst	assumeyestalwayspromptt	exactarchttoleranttdiskspacechecktoverwrite_groupst	keepalivet__pkgs_gpgcheck_default__tgpgcheckt__repo_gpgcheck_default__t
repo_gpgcheckt	obsoletestshowdupesfromrepostenabledtenablegroupstenable_group_conditionalstgroup_package_typesRcttimeoutRjt	bandwidthRmtthrottleRdthttp_cachingRPtmetadata_expiretmirrorlist_expiretrpm_check_debugtdisable_excludestskip_brokentmdpolicytmultilib_policytbugtracker_urltcolortcolor_list_installed_oldertcolor_list_installed_newertcolor_list_installed_reinstalltcolor_list_installed_extratcolor_list_available_upgradetcolor_list_available_downgradetcolor_list_available_reinstalltcolor_list_available_installtcolor_update_installedtcolor_update_localtcolor_update_remotetcolor_search_matcht
_reposlist(((RRŸOsˆ							-!$				ftRepoConfcBs¯tZdZeƒZd„ZeƒZee	i
ƒZ
eƒZe
ƒZe
ƒZeƒZeƒZeƒZeƒZee	iƒZee	iƒZee	iƒZee	iƒZee	iƒZee	iƒZee	iƒZee	iƒZee	iƒZee	iƒZee	iƒZee	i ƒZ ee	i!ƒZ!ee	i"ƒZ"ee	i#ƒZ#ee	i$ƒZ$e%dƒZ&ee	i'ƒZ'ee	i(ƒZ(ee	i)ƒZ)ee	i*ƒZ*RS(s>
    Option definitions for repository INI file sections.
    ccsi|i}t|tƒp
tƒ}n|p |itti	|ƒƒƒnx|iD]
}|VqWWdS(s@Yield the names of all defined options in the instance.
        N(Rt_RepoConf__cached_keystckRRðRztupdatetlistRoRqR(RRòR((RRqÀs	
 
iè(+RR R!RzRñRqRRR%RŸRÒRAtbaseurlR-t
mirrorlisttmetalinktmediaidtgpgkeyR&R»tincludepkgsR½R¾R¿R®R¼RÍRÏRËRÓR×RØRÖRÙRÚRÛRßREtcostR¶R·R¸R¹(((RRðºsB										cCsÄ|ti_tƒ}||_tƒ}t	|ƒ}y|i|ƒWn(tj
o}tid|ƒ‚nX|i|dƒx5|iD]*}|ddjptidƒ‚q‰q‰W||_|S(sœ
    Parse Yum's main configuration file and return a StartupConf instance.
    
    This is required in order to access configuration settings required as Yum
    starts up.

    @param configfile: The path to yum.conf.
    @param root: The base path to use for installation (typically '/')
    @return: A StartupConf instance.

    May raise Errors.ConfigError if a problem is detected with while parsing.
    sParsing file failed: %stmainiR’s(All plugin search paths must be absoluteN(trootR‘R—Rtstartupconft
configfileR˜tConfigParserRvtConfigPreProcessort
confpp_objtreadfptParsingErrorRRRŽR~Rštpatht_parser(RÿRýRRþRRvR((RtreadStartupConfigòs"			
	cCs;tƒ}tiiƒ|d<tiiƒ|d<t|i|i	ƒ|d<t
ƒ}|i|i
dƒxLd
D]D}t||ƒ}|i|}|idd	ƒ}t|||ƒqkW||_d
|_d
|_d|_|i|_tii|iƒoti|iƒd|_n
d
|_|i|_|i|_|S(s§
    Parse Yum's main configuration file

    @param startupconf: StartupConf instance as returned by readStartupConfig()
    @return: Populated YumConf instance.
    tbasearchtarcht
releaseverRüR±R´R²s//R’iiN(scachedirslogfiles
persistdir( t
_getEnvVartyumvarstrpmUtilsR	tgetBaseArchtgetCanonArcht
_getsysverRþR—R–RŸtyumconfR~RRsRRtir_pathR*RtyumvartuidtcacheRtprogess_objR˜tostexistststattconfig_file_ageR”R•(RþRsRRRR((RtreadMainConfigs0		
					cCsFy|i||ƒ}Wn ttfj
o|iSnX|i	|ƒS(s‡Convenience function to retrieve a parsed and converted value from a
    ConfigParser.

    @param conf: ConfigParser instance or similar
    @param section: Section name
    @param name: Option name
    @param option: Option instance to use for conversion.
    @return: The parsed value or default if value was not present.

    Will raise ValueError if the option could not be parsed.
    N(
tconfRYRxRRKtNoSectionErrort
NoOptionErrorRsRR(RRxRRsRK((Rt	getOptionFscCs^h}xQtddƒD]@}d|}tii|dƒ}|o|||iƒ<qqW|S(sReturn variable replacements from the environment variables YUM0 to YUM9

    The result is intended to be used with parser.varReplace()
    ii
sYUM%dtN(	RtrangetnumtenvRtenvironRYRKR7(RKRR"R#((RRXs
cCstiid|ƒ}|ititiBƒ|i	d|ƒ}|iƒdjo
d}n|iƒ}|d}~~~|S(sîCalculate the release version for the system.

    @param installroot: The value of the installroot option.
    @param distroverpkg: The value of the distroverpkg option.
    @return: The release version as a string (eg. '4' for FC4)
    Rýtprovidesis$releasevertversionN(R
ttransactiontinitReadOnlyTransactionR—ttstpushVSFlagstrpmt_RPMVSF_NOSIGNATURESt_RPMVSF_NODIGESTStdbMatchR–tidxtcountR
tnextthdr(R—R–R2R/R)R
((RRes

cCsâtt|iƒƒ}|ii|iƒ}x‚|i	ƒD]t\}}|i|ƒ}|i|jp
||jo<|djp
||jo|i|ƒ||i|<q«q7q7Wt|idƒ}|it|ƒƒ|iƒdS(s
    Writes changes in a repo object back to a .repo file.
    @param repo: Repo Object
    @param only: List of attributes to work on (None = All)
    It work by reading the repo file, changes the values there shall be changed and write it back to disk.
    twN(t	INIConfigtopentrepotrepofiletiniRwR{RR„RtRRRrRsRtonlyRRR0tfpR†Rtclose(R6R9R:RR„RR8Rs((RtwriteRawRepoFile{s
&(0R!RRˆR+RR8RvRtiniparseR4tiniparse.compatRRRRtrpmUtils.transactionR
t
rpmUtils.archRRRÌRÎtobjectRR%R&R-RARERMRPR\RcRdRiRjRmRoR‘RŸRðRRRRRRR<('RRðRoRERÌR+RdR&RR-RŸRR4R<RRRRMRˆRjR%RRmR‘RcRRARR
RRÎRPR8RR\RRiRR((Rt?sL					


			Y	
&*
5$|k8	%	/		
	

Anon7 - 2021