From 9030636fb3a967865d422c165b5aec014b090ed3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 18 Dec 2006 06:22:40 +0000 Subject: [PATCH] For bug #158354, make "No" the default response for unmerge actions. svn path=/main/trunk/; revision=5318 --- bin/emerge | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2