diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-06-21 02:11:35 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-06-21 02:11:35 +0000 |
commit | 71ae15787f9c8cbbf9058b6ff5bc769372263c28 (patch) | |
tree | 90b47e8ed1e49cae65dedc50159947960e210d5b /pym | |
parent | 14e23092b6892a094e8029f27b4f2276e442b1e6 (diff) | |
download | portage-71ae15787f9c8cbbf9058b6ff5bc769372263c28.tar.gz portage-71ae15787f9c8cbbf9058b6ff5bc769372263c28.tar.bz2 portage-71ae15787f9c8cbbf9058b6ff5bc769372263c28.zip |
Remove pointless closing of stdin that is done prior to metadata transfer and use os.rename instead of spawning MOVE_BINARY (see bug #136404). This patch is from trunk r3499 and r3500.
svn path=/main/branches/2.1/; revision=3561
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index c8c1570f8..43fc3d8c5 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4533,7 +4533,7 @@ class vardbapi(dbapi): if os.path.exists(newpath): #dest already exists; keep this puppy where it is. continue - portage_exec.spawn((MOVE_BINARY, origpath, newpath), env=os.environ) + os.rename(origpath, newpath) # We need to rename the ebuild now. old_eb_path = newpath+"/"+mycpsplit[1] +"-"+mycpsplit[2] |