diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-05-03 20:27:35 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-05-03 20:27:35 +0000 |
commit | e14c7c12c267a44c56f0f4ed2e6d8c0006456997 (patch) | |
tree | f10bfda8abca2bd2329fb78815725b0a5b0f195f | |
parent | Fix DepPriority.__int__() to return distinguishable values, for use when (diff) | |
download | portage-e14c7c12c267a44c56f0f4ed2e6d8c0006456997.tar.gz portage-e14c7c12c267a44c56f0f4ed2e6d8c0006456997.tar.bz2 portage-e14c7c12c267a44c56f0f4ed2e6d8c0006456997.zip |
Fix inverted logic in superuser logic for bug #267104. (trunk r13596)
svn path=/main/branches/2.1.6/; revision=13602
-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 4e770460a..f80ff7f7e 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3987,7 +3987,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) @@ -4008,7 +4008,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 |