projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ca6c3
)
Fix the code from bug #267104 to account non-root users. (trunk r13408)
author
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 07:29:53 +0000
(07:29 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 07:29:53 +0000
(07:29 -0000)
svn path=/main/branches/2.1.6/; revision=13548
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 632ed71cb04687e0403c3ad602d4254e07fa18ad..5d049990be8d003820734e1dea1175b88e6c22a6 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-3937,7
+3937,9
@@
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
mysize = 0
if (size - mysize + vfs_stat.f_bsize) >= \
(vfs_stat.f_bsize * vfs_stat.f_bavail):
- if 'userfetch' in features:
+ if secpass < 2:
+ has_space = False
+ elif userfetch:
has_space = False
elif (size - mysize + vfs_stat.f_bfree) >= \
(vfs_stat.f_bfree * vfs_stat.f_bavail):