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