projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfc6ac
)
Fix error in calculations from bug #267104.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 06:30:32 +0000
(06:30 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 06:30:32 +0000
(06:30 -0000)
svn path=/main/trunk/; revision=13419
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index c849227d95ba9676edf9f54fef22b057fd52737c..c121a0b9d5c189afa1d0e3c429cf87453c814332 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-3983,8
+3983,8
@@
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
has_space = False
elif userfetch:
has_space = False
- elif (size - mysize + vfs_stat.f_b
fre
e) >= \
- (vfs_stat.f_b
free * vfs_stat.f_bavail
):
+ elif (size - mysize + vfs_stat.f_b
siz
e) >= \
+ (vfs_stat.f_b
size * vfs_stat.f_bfree
):
has_space = False
if not has_space: