1 |
Author: grobian |
2 |
Date: 2008-07-31 13:26:41 +0000 (Thu, 31 Jul 2008) |
3 |
New Revision: 11301 |
4 |
|
5 |
Modified: |
6 |
main/branches/prefix/pym/_emerge/__init__.py |
7 |
Log: |
8 |
revert 1124{2,3}, trunk solved it by simply disabling IONICE by default, which works for me too. |
9 |
|
10 |
Modified: main/branches/prefix/pym/_emerge/__init__.py |
11 |
=================================================================== |
12 |
--- main/branches/prefix/pym/_emerge/__init__.py 2008-07-31 12:58:57 UTC (rev 11300) |
13 |
+++ main/branches/prefix/pym/_emerge/__init__.py 2008-07-31 13:26:41 UTC (rev 11301) |
14 |
@@ -13217,10 +13217,6 @@ |
15 |
if not ionice_cmd: |
16 |
return |
17 |
|
18 |
- # Don't try if not root, it will be denied http://www.stupids.org/?p=25 |
19 |
- if os.geteuid() != 0: |
20 |
- return |
21 |
- |
22 |
from portage.util import varexpand |
23 |
variables = {"PID" : str(os.getpid())} |
24 |
cmd = [varexpand(x, mydict=variables) for x in ionice_cmd] |