summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-12 19:06:02 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-12 19:06:02 +0000
commite9aa0ce7dd17b058b2ba0268c70902590314dbfd (patch)
tree40f3f7c5dc2ee1938f4b08ac50d3f9e47f9908e4
parent34a72f73ecf026a55ca9cc071ee7520d5b992960 (diff)
downloadportage-e9aa0ce7dd17b058b2ba0268c70902590314dbfd.tar.gz
portage-e9aa0ce7dd17b058b2ba0268c70902590314dbfd.tar.bz2
portage-e9aa0ce7dd17b058b2ba0268c70902590314dbfd.zip
For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404).
svn path=/main/trunk/; revision=3500
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index dafcb4bca..26cce56cc 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4529,7 +4529,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]