From: Zac Medico Date: Mon, 18 Dec 2006 06:22:40 +0000 (-0000) Subject: For bug #158354, make "No" the default response for unmerge actions. X-Git-Tag: v2.1.2~274 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9030636fb3a967865d422c165b5aec014b090ed3;p=portage.git For bug #158354, make "No" the default response for unmerge actions. svn path=/main/trunk/; revision=5318 --- diff --git a/bin/emerge b/bin/emerge index 07b9d46bc..edccaf4fc 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3133,7 +3133,8 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files, #we're done... return return 0 if "--ask" in myopts: - if userquery("Would you like to unmerge these packages?")=="No": + if userquery("Would you like to unmerge these packages?", + responses=["No", "Yes"], colours=[red, green]) == "No": # enter pretend mode for correct formatting of results myopts["--pretend"] = True print