summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:21:14 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:21:14 +0000
commit932fc42c754d00aae393eb868b0a6c3147fff63f (patch)
tree937213f90e22712bf6c089400d80ce0997b16c2a
parentAdd missing del when cleansing cache in action_metadata(). (trunk r13373) (diff)
downloadportage-multirepo-932fc42c754d00aae393eb868b0a6c3147fff63f.tar.gz
portage-multirepo-932fc42c754d00aae393eb868b0a6c3147fff63f.tar.bz2
portage-multirepo-932fc42c754d00aae393eb868b0a6c3147fff63f.zip
Drop from --ask to --pretend for uninstall all actions. (trunk r13374)
svn path=/main/branches/2.1.6/; revision=13527
-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 d1817e55..879579bb 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -15634,7 +15634,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 \