1 |
Author: zmedico |
2 |
Date: 2009-05-02 20:49:27 +0000 (Sat, 02 May 2009) |
3 |
New Revision: 13596 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/__init__.py |
7 |
Log: |
8 |
Fix inverted logic in superuser logic for bug #267104. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/__init__.py 2009-05-02 09:31:29 UTC (rev 13595) |
14 |
+++ main/trunk/pym/portage/__init__.py 2009-05-02 20:49:27 UTC (rev 13596) |
15 |
@@ -3996,7 +3996,7 @@ |
16 |
|
17 |
myfile_path = os.path.join(mysettings["DISTDIR"], myfile) |
18 |
has_space = True |
19 |
- has_space_superuser = False |
20 |
+ has_space_superuser = True |
21 |
file_lock = None |
22 |
if listonly: |
23 |
writemsg_stdout("\n", noiselevel=-1) |
24 |
@@ -4017,7 +4017,7 @@ |
25 |
|
26 |
if (size - mysize + vfs_stat.f_bsize) >= \ |
27 |
(vfs_stat.f_bsize * vfs_stat.f_bfree): |
28 |
- has_space_superuser = True |
29 |
+ has_space_superuser = False |
30 |
|
31 |
if not has_space_superuser: |
32 |
has_space = False |