projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2763e3
)
Fix error in calculations from bug #267104. (trunk r13419)
author
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 07:32:00 +0000
(07:32 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 07:32:00 +0000
(07:32 -0000)
svn path=/main/branches/2.1.6/; revision=13559
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index e734f9ad135886d20a0a6adac45228012e6594dd..e6336e141fbd35a56ea9e17f60092a0032611435 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-3973,8
+3973,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: