From e9aa0ce7dd17b058b2ba0268c70902590314dbfd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 12 Jun 2006 19:06:02 +0000 Subject: For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404). svn path=/main/trunk/; revision=3500 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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] -- cgit v1.2.3-1-g7c22