summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-19 21:23:21 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-19 21:23:21 +0000
commit95c71a977fc68fe48c626cebdcc8490117cc9f07 (patch)
tree9e25583196a641316fa92b3924085f93467cca36
parent9a30d87048a43d8ba8e5c17e379b1b27590909e0 (diff)
downloadportage-95c71a977fc68fe48c626cebdcc8490117cc9f07.tar.gz
portage-95c71a977fc68fe48c626cebdcc8490117cc9f07.tar.bz2
portage-95c71a977fc68fe48c626cebdcc8490117cc9f07.zip
Drop from --ask to --pretend for uninstall all actions.
svn path=/main/trunk/; revision=13374
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
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 \