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@sddlmZddlmZmZddlmZddlmZddl m Z ddl Z ddl Z ddl Z ddlZddlZdejfdYZdS( i(tprint_function(tcommandstCliError(t_(tNoModuleException(tloggerNt ModuleCommandc BsYeZdejfdYZdefdYZdefdYZdefdYZdefd YZd efd YZ d efd YZ defdYZ defdYZ defdYZ eeeee e e e e h ZehZdZedZdZdZdZdZdZdZRS(t SubCommandcBseZdZRS(cCs8ttj|j|tjjj|j|_dS(N( tsuperRRt__init__tdnftmodulet module_baset ModuleBasetbase(tselftcli((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR %s(t__name__t __module__R (((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR#stListSubCommandcBs eZdZdZdZRS(tlistcCs"|jj}t|_t|_dS(N(RtdemandstTruetavailable_repostsack_activation(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyt configure-s  cCs |j}|jjr9|j|jjtjjj}n|jj ri|j|jjtjjj }nQ|jj r|j|jjtjjj }n!|j|jjtjjj }|rt|dStd}|jjrtjj|ntj|dS(NsNo matching Modules to list(R toptstenabledt_get_brief_descriptiont module_spectlibdnfR tModulePackageContainertModuleState_ENABLEDtdisabledtModuleState_DISABLEDt installedtModuleState_INSTALLEDtModuleState_UNKNOWNtprintRR t exceptionstErrorRtwarning(Rtmodstoutputtmsg((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyt run_on_module2s*         (slist(RRtaliasesRR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR)s tInfoSubCommandcBs eZdZdZdZRS(tinfocCs"|jj}t|_t|_dS(N(RRRRR(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyROs  cCs|jjr'|jj|jj}n?|jjrN|jj|jj}n|jj|jj}|ryt|nt j j t ddS(NsNo matching Modules to list( RtverboseR t_get_full_infoRtprofilet_get_info_profilest _get_infoR&R R'R(R(RR+((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-Ts   (sinfo(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR/Ks tEnableSubCommandcBs eZdZdZdZRS(tenablecCs4|jj}t|_t|_t|_t|_dS(N(RRRRRt resolvingt root_user(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRds     cCsy|jj|jjWntjjk r}|jjj r|j sS|j r\|n|j r|j dt jjjkr|qntjt|nXdS(Ni(R R7RRR R't MarkingErrorsRtconftstricttno_match_group_specsterror_group_specstmodule_debsolv_errorsRR Rt!ModuleErrorType_ERROR_IN_DEFAULTSRterrortstr(Rte((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-ks  (senable(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR6`s tDisableSubCommandcBs eZdZdZdZRS(tdisablecCs4|jj}t|_t|_t|_t|_dS(N(RRRRRR8R9(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR{s     cCsy|jj|jjWntjjk r}|jjj r|j sS|j r\|n|j r|j dt jjjkr|qntjt|nXdS(Ni(R RERRR R'R:RR;R<R=R>R?RR RR@RRARB(RRC((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-s  (sdisable(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRDws tResetSubCommandcBs eZdZdZdZRS(tresetcCs4|jj}t|_t|_t|_t|_dS(N(RRRRRR8R9(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRs     cCsqy|jj|jjWnPtjjk rl}|jjj rV|j rV|qVnt j t |nXdS(N(R RGRRR R'R:RR;R<R=RRARB(RRC((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-s  (sreset(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRFs tInstallSubCommandcBs eZdZdZdZRS(tinstallcCs4|jj}t|_t|_t|_t|_dS(N(RRRRRR8R9(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRs     cCsy&|jj|jj|jjjWnYtjj k r}|jjjrk|j s_|j rk|qknt j t|nXdS(N(R RIRRRR;R<R R'R:R=R>RRARB(RRC((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-s& (sinstall(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRHs tUpdateSubCommandcBs eZdZdZdZRS(tupdatecCs4|jj}t|_t|_t|_t|_dS(N(RRRRRR8R9(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRs     cCs:|jj|jj}|r6tdj|ndS(Ns, (R tupgradeRRRtjoin(Rt module_specs((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-s(supdate(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRJs tRemoveSubCommandcBs eZdZdZdZRS(tremoveterasecCsF|jj}t|_t|_t|_t|_t|_t|_ dS(N( RRRt allow_erasingRtFalsetfresh_metadataR8R9R(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRs      cCsB|jj|jj}|s"dStjtjjd|dS(NR=( R RPRRRRAR R'R:(Rtskipped_groups((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-s(sremoveRQ(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyROs tProvidesSubCommandcBs eZdZdZdZRS(tprovidescCs"|jj}t|_t|_dS(N(RRRRR(RR((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRs  cCs/|jj|jj}|r+t|ndS(N(R t_what_providesRRR&(RR+((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR-s(RW(RRR.RR-(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRVs R sInteract with Modules.csOtt|jfd|jD}d|_d|D|_dS(Nc3s|]}|VqdS(N((t.0tsubcmd(R(s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pys scSs)i|]}|jD]}||qqS((R.(RYRZtalias((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pys s (RRR tSUBCMDStNoneRZt_subcmd_name2obj(RRt subcmd_objs((Rs;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR s c Csg|jD]}|jd^q }|jdddd||jddd|j}|jdd d d d d td|jdd dd d d td|jdd dd d d td|jdd dd d d tddS(NiRZtnargsitchoicesRt*s --enabledtdestRtactiont store_truethelpsshow only enabled moduless --disabledR!sshow only disabled moduless --installedR#sshow only installed moduless --profileR3sshow profile content(R\R.t add_argumenttadd_mutually_exclusive_groupR(RtparserRZtsubcommand_helptnarrows((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyt set_argparsers #    cCsny|j|jjd|_Wn-ttfk rM|jjjtnX|j|j_|jjdS(Ni( R^RRZRtKeyErrorRt optparsert print_usageR(R((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR s cCs|j|jjdS(N(tcheck_required_argumentRZR-(R((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pytruns cCsg|jD]}|jD] }|^qq }|jjd|kr|jjstdj|jjd|jjdqndS(Nisdnf {} {}: too few arguments(tSUBCMDS_NOT_REQUIRED_ARGR.RRZRRtformattcommand(RRZR[tnot_required_argument((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyRps  cCs0|jjddkr,tjtdndS(NiR7sg Switching module streams does not alter installed packages (see 'module enable' in dnf(8) for details)(senable(RRZRR0R(R((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pytrun_transaction"s(smodule(RRRtCommandRRR/R6RDRFRHRJRORVR\RrR.RtsummaryR RlRRqRpRv(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyR"s,"         (t __future__Rtdnf.cliRRtdnf.i18nRtdnf.module.exceptionsRtdnf.utilRtsystosRtdnf.module.module_baseR tdnf.exceptionsRwR(((s;/usr/lib/python2.7/site-packages/dnf/cli/commands/module.pyts