summaryrefslogtreecommitdiff
path: root/pym
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 /pym
parentRemove pointless closing of stdin that is done prior to metadata transfer (Se... (diff)
downloadportage-idfetch-e9aa0ce7dd17b058b2ba0268c70902590314dbfd.tar.gz
portage-idfetch-e9aa0ce7dd17b058b2ba0268c70902590314dbfd.tar.bz2
portage-idfetch-e9aa0ce7dd17b058b2ba0268c70902590314dbfd.zip
For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404).
svn path=/main/trunk/; revision=3500
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index dafcb4bc..26cce56c 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]