From 95c71a977fc68fe48c626cebdcc8490117cc9f07 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 19 Apr 2009 21:23:21 +0000 Subject: Drop from --ask to --pretend for uninstall all actions. svn path=/main/trunk/; revision=13374 --- pym/_emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 68c51725f..78f58b526 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -16125,7 +16125,8 @@ def emerge_main(): if portage.secpass < 2: # We've already allowed "--version" and "--help" above. if "--pretend" not in myopts and myaction not in ("search","info"): - need_superuser = myaction in ('deselect',) or not \ + need_superuser = myaction in ('clean', 'depclean', 'deselect', + 'prune', 'unmerge') or not \ (fetchonly or \ (buildpkgonly and secpass >= 1) or \ myaction in ("metadata", "regen") or \ -- cgit v1.2.3-1-g7c22