PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  [/\c@sddlmZddlmZddlZddlZddlZddlZddlZddl Z ej dZ de fdYZ dejejfdYZdS( i(tcommands(t_NtdnftShellDemandSheetcBs eZeZeZeZeZRS((t__name__t __module__tTruetavailable_repost resolvingt root_usertsack_activation(((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyR%st ShellCommandcBseZdZedZi dd6dd6dd6dd6dd6dd 6dd6d d 6d d 6d d 6ZdZedZdZ dZ dZ dZ ddZddZddZddZdZddZddZddZRS(tshellsrun an interactive DNF shelltrepot repositorytquittexittts_runtrunt transactionttstconfigtresolvet resolvedepthelpcCs0tjj||tjj|d|_dS(Ns> (RtCommandt__init__tcmdtCmdtprompt(tselftcli((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyR=sc Cs/|jddddtddtddS(Ntscripttnargst?tmetavartSCRIPTRsScript to run in DNF shell(t add_argumentR(tparser((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt set_argparserBscCs|jj}t|j_xst|D]e}|jdrCq(nyt|jj|Wq(tk rt|jj|t||q(Xq(WdS(Nt__(RtdemandsRtdirt startswithtgetattrtAttributeErrortsetattr(Rtdefault_demandstattr((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt configureGs  cCs0|jjr"|j|jjn |jdS(N(toptsR t _run_scripttcmdloop(R((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyRTs cCs*|jjd|j_|jjdS(N(tbaset_finalize_basetNonet _transactiont fill_sack(R((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt_cleanZs  cCs| s|dkrdS|dkr,d}nytj|}Wn|jdSX|jjj|}|jdkr|dS|j|jkrt|d|j|j|dddn|jj j |j}|dk r||j}yK|jjj ||}t j|jj|j_|j|jWqtjjk rv}tjtdd|jqdSXn |jdS( Ns tEOFRR RisError:t (tshlextsplitt_helpRt optparsertparse_main_argstcommandtMAPPINGR,R7t cli_commandstgettparse_command_argstcopytdeepcopyR)R1RRt exceptionstErrortloggerterrorRtvalue(Rtlinets_lineR2tcmd_clsRte((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pytonecmd_s6   1  !c Csd}| s"t|dkr3|jddS|d}t|dkrY|dnd}|jd}|dkr|| }||d}|jjj|}x|D]}||||qW|stjt d|qn||||jj dS( NcSs^|rt|||nAy$dj|t|t|GHWntjtdnXdS(Ns{}: {}sUnsupported key value.(R.tformatR,tstrRKtwarningR(tkeytvaltconf((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt print_or_sets $iRiit.isCould not find repository: %s( tlenR?R7tfindR5trepost get_matchingRKRURRX( RtargsRYRVRWtperiodt repo_nameR]R ((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt_configs"   "    cCsnt|tr+t|dkr+|dn|}d}|r<|dkratdj|}q<|dkrtdj|}q<|dkrtdj|}q<|d krtd j|}q<|dkrtd j|}q<|dkrtdj|}q<|dkr<tdj|}q<n|sa|jjjtd}nd|GHdS(sOutput help information. :param args: the command to output help information about. If *args* is an empty, general help will be output. iRs{} arg [value] arg: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes, exclude, repo_id.gpgcheck, repo_id.exclude If no value is given it prints the current value. If value is given it sets that value.Rs{} [command] print helpR Rs{} arg [option] list: lists repositories and their status. option = [all | id | glob] enable: enable repositories. option = repository id disable: disable repositories. option = repository idRs"{} resolve the transaction setRRsy{} arg list: lists the contents of the transaction reset: reset (zero-out) the transaction run: run the transactionRs{} run the transactionRRs{} exit the shellsShell specific arguments: config set config options help print help repository (or repo) enable, disable or list repositories resolvedep resolve the transaction set transaction (or ts) list, reset or run the transaction set run resolve and run the transaction set exit (or quit) exit the shells N(srepoR(s transactionR(sexitsquit( t isinstancetlistR[R7RRSRR@t print_help(RR_targtmsg((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyR?s:1        cCs|r|dnd}|d krC|jddj|dn|d kr|jjj}t}x|dddD]j}|j|}|rt||t }qxt j t ddt d |jj jj|qxW|r |jjq n |jd dS( NiRds repolist R<itenabletdisablesError:sUnknown repo: '%s'R (slistN(RhRi(R7RRtjoinRR5R]tFalseR^R,RRKtcriticalRtoutputttermtboldR9R?(RR_RR]R9R tr((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt_repos  !  cCs]|jjjdkrYy |jjj|jjjWqYtjj k rU}|GHqYXndS(N( RR5RR7RR)t allow_erasingRRIt DepsolveError(RR_RQ((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt_resolves  cCsyXt|dC}|j}x-|D]%}|jds(|j|q(q(WWdQXWnFtk rtjtd|jj j j |t j dnXdS(NRpt#s!Error: Cannot open %s for readingi(topent readlinesR+RRtIOErrorRKtinfoRR5RmRnRotsysR(RtfiletfdtlinesRN((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyR3s   (cCs|r|dnd}|dkr0|jdS|j|dkr|jjr|jjj|jj}tj|qnA|dkry|jj WnnX|jn |j ddS(NitresetRdRR(slistN( R7R:RtR5R8Rmtlist_transactionRKRytdo_transactionR?(RR_Rtout((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyR8s        cCs|jdgdS(NR(R8(RR_((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt_ts_runscCs$tjtdtjddS(Ns Leaving Shelli(RKRyRRzR(RR_((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyt_quits(sshellN(RRtaliasesRtsummaryRCRt staticmethodR'R1RR:RRR7RbR?RqRtR3R8RR(((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyR ,s4        ;    (tdnf.cliRtdnf.i18nRRRGRtloggingR=Rzt getLoggerRKtobjectRRRR (((s:/usr/lib/python2.7/site-packages/dnf/cli/commands/shell.pyts