From: Zac Medico Date: Mon, 12 Jun 2006 19:06:02 +0000 (-0000) Subject: For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404). X-Git-Tag: v2.1.1~494 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9aa0ce7dd17b058b2ba0268c70902590314dbfd;p=portage.git For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404). svn path=/main/trunk/; revision=3500 --- 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]