/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__
NameSizeModeActions
alias.cpython-36.opt-1.pyc53300644editdlrm
alias.cpython-36.pyc53300644editdlrm
autoremove.cpython-36.opt-1.pyc19140644editdlrm
autoremove.cpython-36.pyc19140644editdlrm
check.cpython-36.opt-1.pyc37230644editdlrm
check.cpython-36.pyc37230644editdlrm
clean.cpython-36.opt-1.pyc41050644editdlrm
clean.cpython-36.pyc41050644editdlrm
deplist.cpython-36.opt-1.pyc8890644editdlrm
deplist.cpython-36.pyc8890644editdlrm
distrosync.cpython-36.opt-1.pyc14400644editdlrm
distrosync.cpython-36.pyc14400644editdlrm
downgrade.cpython-36.opt-1.pyc18030644editdlrm
downgrade.cpython-36.pyc18030644editdlrm
group.cpython-36.opt-1.pyc103810644editdlrm
group.cpython-36.pyc104780644editdlrm
history.cpython-36.opt-1.pyc114900644editdlrm
history.cpython-36.pyc114900644editdlrm
install.cpython-36.opt-1.pyc60830644editdlrm
install.cpython-36.pyc60830644editdlrm
makecache.cpython-36.opt-1.pyc12630644editdlrm
makecache.cpython-36.pyc12630644editdlrm
mark.cpython-36.opt-1.pyc29170644editdlrm
mark.cpython-36.pyc29170644editdlrm
module.cpython-36.opt-1.pyc149640644editdlrm
module.cpython-36.pyc149640644editdlrm
reinstall.cpython-36.opt-1.pyc29650644editdlrm
reinstall.cpython-36.pyc30400644editdlrm
remove.cpython-36.opt-1.pyc39210644editdlrm
remove.cpython-36.pyc39210644editdlrm
repolist.cpython-36.opt-1.pyc74260644editdlrm
repolist.cpython-36.pyc74260644editdlrm
repoquery.cpython-36.opt-1.pyc222970644editdlrm
repoquery.cpython-36.pyc222970644editdlrm
search.cpython-36.opt-1.pyc43940644editdlrm
search.cpython-36.pyc43940644editdlrm
shell.cpython-36.opt-1.pyc78710644editdlrm
shell.cpython-36.pyc78710644editdlrm
swap.cpython-36.opt-1.pyc18870644editdlrm
swap.cpython-36.pyc18870644editdlrm
updateinfo.cpython-36.opt-1.pyc139050644editdlrm
updateinfo.cpython-36.pyc139050644editdlrm
upgrade.cpython-36.opt-1.pyc36810644editdlrm
upgrade.cpython-36.pyc36810644editdlrm
upgrademinimal.cpython-36.opt-1.pyc11030644editdlrm
upgrademinimal.cpython-36.pyc11030644editdlrm
__init__.cpython-36.opt-1.pyc263950644editdlrm
__init__.cpython-36.pyc266380644editdlrm
Edit: /usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/reinstall.cpython-36.pyc (3040B)
3 ft`]@slddlmZddlmZddlmZddlmZddlmZddl Z ddl Z e j dZ Gdd d ejZdS) )absolute_import)unicode_literals)commands) OptionParser)_Ndnfc@s8eZdZdZd ZedZeddZddZ d d Z d S) ReinstallCommandzSA class containing methods needed by the cli to execute the reinstall command. reinstallreizreinstall a packagecCs"|jddtdtjtdddS)Npackages+zPackage to reinstallZPACKAGE)nargshelpactionmetavar) add_argumentrrZParseSpecGroupFileCallback)parserr/usr/lib/python3.6/reinstall.py set_argparser(szReinstallCommand.set_argparsercCsH|jj}d|_d|_d|_d|_tj|j|j|j j sDtj |jdS)a Verify that conditions are met so that this command can run. These include that the program is being run by the root user, that there are enabled repositories with gpg keys, and that this command is called with appropriate arguments. TN) ZclidemandsZsack_activationZavailable_reposZ resolvingZ root_userrZ _checkGPGKeybaseopts filenamesZ_checkEnabledRepo)selfrrrr configure.szReinstallCommand.configurecCsd}xp|jj|jjd|jjjdD]P}y|jj|Wn6tjj k rlt j t d|jjj j|jYq"Xd}q"WxR|jjdd|jjDD]2}y|jj|Wntjjk r}zPx,|jD]"}t j t d|jj j|jPqWt j t d|jjj j|WYdd}~Xqtjjk r}z^xV|jD]L}d}|jjj|}|rdt d |}t d }t j ||jjj j||qLsz(ReinstallCommand.run..z(Package %s available, but not installed.z (from %s)z%Installed package %s%s not available.z+Only the above marking errors are expected.z!No packages marked for reinstall.)rZadd_remote_rpmsrroutputrZpackage_reinstallr exceptionsZ MarkingErrorloggerinforZtermZboldlocationZ pkg_specsZ grp_specsr ZPackagesNotInstalledErrorr nameZPackagesNotAvailableErrorhistoryZrepoAssertionErrorError)rdoneZpkgZpkg_specerrZxmsgZpkgrepomsgrrrrun=sB $   "  zReinstallCommand.runN)r r ) __name__ __module__ __qualname____doc__aliasesrZsummary staticmethodrrr/rrrrr!s  r)Z __future__rrZdnf.clirZdnf.cli.option_parserrZdnf.i18nrZdnf.exceptionsrZloggingZ getLoggerr%ZCommandrrrrrs