1 |
Author: zmedico |
2 |
Date: 2009-04-30 07:21:14 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13527 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Drop from --ask to --pretend for uninstall all actions. (trunk r13374) |
9 |
|
10 |
Modified: main/branches/2.1.6/pym/_emerge/__init__.py |
11 |
=================================================================== |
12 |
--- main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 07:20:59 UTC (rev 13526) |
13 |
+++ main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 07:21:14 UTC (rev 13527) |
14 |
@@ -15634,7 +15634,8 @@ |
15 |
if portage.secpass < 2: |
16 |
# We've already allowed "--version" and "--help" above. |
17 |
if "--pretend" not in myopts and myaction not in ("search","info"): |
18 |
- need_superuser = myaction in ('deselect',) or not \ |
19 |
+ need_superuser = myaction in ('clean', 'depclean', 'deselect', |
20 |
+ 'prune', 'unmerge') or not \ |
21 |
(fetchonly or \ |
22 |
(buildpkgonly and secpass >= 1) or \ |
23 |
myaction in ("metadata", "regen") or \ |