ó ¾[/\c@@s ddlmZddlmZddlmZddlmZddlmZddl Z ddl Z ddl Z e j dƒZdejfd „ƒYZdS( i(tabsolute_import(tunicode_literals(tcommands(t OptionParser(t_NudnftAutoremoveCommandcB@soeZiejd6ejd6ejd6ZdeejƒƒZ e dƒZ e d„ƒZ d„Zd„ZRS( u autoremove-nu autoremove-nauautoremove-nevrau autoremoveuKremove all unneeded packages that were originally installed as dependenciesc C@s8|jddddtdƒdtjdtdƒƒdS( Nupackagestnargsu*thelpuPackage to removetactiontmetavaruPACKAGE(t add_argumentRRtParseSpecGroupFileCallback(tparser((s?/usr/lib/python2.7/site-packages/dnf/cli/commands/autoremove.pyt set_argparser,s cC@sˆ|jj}t|_t|_t|_t|jj|jj |jj gƒrrt|j j _ t|_t|_nt|_t|_dS(N(tclitdemandstTruet resolvingt root_usertsack_activationtanytoptst grp_specst pkg_specst filenamestbasetconftclean_requirements_on_removet allow_erasingtFalsetavailable_repostfresh_metadata(tselfR((s?/usr/lib/python2.7/site-packages/dnf/cli/commands/autoremove.pyt configure2s    '   cC@s§t|jj|jj|jjgƒr–g|jjD].}|t|jjƒƒkr4|j|^q4}|j j ||jj|jj|jjƒn |j j ƒdS(N( RRRRRtcommandtlistt nevra_formstkeysRt autoremove(R R"tforms((s?/usr/lib/python2.7/site-packages/dnf/cli/commands/autoremove.pytrunBs'.   (u autoremove(t__name__t __module__thawkeyt FORM_NAMEtFORM_NAt FORM_NEVRAR$ttupleR%taliasesRtsummaryt staticmethodR R!R((((s?/usr/lib/python2.7/site-packages/dnf/cli/commands/autoremove.pyR"s     (t __future__RRtdnf.cliRtdnf.cli.option_parserRtdnf.i18nRtdnf.exceptionstdnfR+tloggingt getLoggertloggertCommandR(((s?/usr/lib/python2.7/site-packages/dnf/cli/commands/autoremove.pyts