diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-05-02 20:49:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-05-02 20:49:27 +0000 |
commit | fa4f21600d8de125d88e66b8e632c5e0656f6c47 (patch) | |
tree | f7d7134782667470fb81ad7353b4e602a1bad7be | |
parent | c28ead86e988d048e13c2080e79387c95a7be9e3 (diff) | |
download | portage-fa4f21600d8de125d88e66b8e632c5e0656f6c47.tar.gz portage-fa4f21600d8de125d88e66b8e632c5e0656f6c47.tar.bz2 portage-fa4f21600d8de125d88e66b8e632c5e0656f6c47.zip |
Fix inverted logic in superuser logic for bug #267104.
svn path=/main/trunk/; revision=13596
-rw-r--r-- | pym/portage/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 7eff357d2..07adcd224 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3996,7 +3996,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", myfile_path = os.path.join(mysettings["DISTDIR"], myfile) has_space = True - has_space_superuser = False + has_space_superuser = True file_lock = None if listonly: writemsg_stdout("\n", noiselevel=-1) @@ -4017,7 +4017,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", if (size - mysize + vfs_stat.f_bsize) >= \ (vfs_stat.f_bsize * vfs_stat.f_bfree): - has_space_superuser = True + has_space_superuser = False if not has_space_superuser: has_space = False |