1 |
Author: zmedico |
2 |
Date: 2009-04-30 07:32:00 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13559 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/pym/portage/__init__.py |
7 |
Log: |
8 |
Fix error in calculations from bug #267104. (trunk r13419) |
9 |
|
10 |
Modified: main/branches/2.1.6/pym/portage/__init__.py |
11 |
=================================================================== |
12 |
--- main/branches/2.1.6/pym/portage/__init__.py 2009-04-30 07:31:50 UTC (rev 13558) |
13 |
+++ main/branches/2.1.6/pym/portage/__init__.py 2009-04-30 07:32:00 UTC (rev 13559) |
14 |
@@ -3973,8 +3973,8 @@ |
15 |
has_space = False |
16 |
elif userfetch: |
17 |
has_space = False |
18 |
- elif (size - mysize + vfs_stat.f_bfree) >= \ |
19 |
- (vfs_stat.f_bfree * vfs_stat.f_bavail): |
20 |
+ elif (size - mysize + vfs_stat.f_bsize) >= \ |
21 |
+ (vfs_stat.f_bsize * vfs_stat.f_bfree): |
22 |
has_space = False |
23 |
|
24 |
if not has_space: |