projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a72f7
)
For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404).
author
Zac Medico
<zmedico@gentoo.org>
Mon, 12 Jun 2006 19:06:02 +0000
(19:06 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 12 Jun 2006 19:06:02 +0000
(19:06 -0000)
svn path=/main/trunk/; revision=3500
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index dafcb4bcac79c0f723d847e57cd4a4b72a950bf9..26cce56ccc04b1358dff8037a82c4fae26db8014 100644
(file)
--- 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]