ó ¾[/\c@@smddlmZddlmZddlmZddlmZddlmZdej fd„ƒYZ dS( i(tabsolute_import(tunicode_literals(tcommands(t OptionParser(t_tDowngradeCommandcB@sAeZdZdZedƒZed„ƒZd„Zd„Z RS(uWA class containing methods needed by the cli to execute the downgrade command. u downgradeuDowngrade a packagecC@s,|jddddtdƒdtjƒdS(Nupackagetnargsu*thelpuPackage to downgradetaction(t add_argumentRRtParseSpecGroupFileCallback(tparser((s>/usr/lib/python2.7/site-packages/dnf/cli/commands/downgrade.pyt set_argparser$scC@si|jj}t|_t|_t|_t|_tj|j |jƒ|j j setj |j ƒndS(N( tclitdemandstTruetsack_activationtavailable_repost resolvingt root_userRt _checkGPGKeytbasetoptst filenamest_checkEnabledRepo(tselfR((s>/usr/lib/python2.7/site-packages/dnf/cli/commands/downgrade.pyt configure)s      cC@s||jj|jjdtd|jjjƒ}|jjd|jjg|jj D]}d|^qOd|d|jj j ƒS(Ntstricttprogresstspecsu@t file_pkgs( Rtadd_remote_rpmsRRtFalsetoutputRt downgradePkgst pkg_specst grp_specstconfR(RRtx((s>/usr/lib/python2.7/site-packages/dnf/cli/commands/downgrade.pytrun4s  -(u downgrade( t__name__t __module__t__doc__taliasesRtsummaryt staticmethodR RR'(((s>/usr/lib/python2.7/site-packages/dnf/cli/commands/downgrade.pyRs   N( t __future__RRtdnf.cliRtdnf.cli.option_parserRtdnf.i18nRtCommandR(((s>/usr/lib/python2.7/site-packages/dnf/cli/commands/downgrade.pyts