When portage reinstalls itself, copy both the bin and pym
authorZac Medico <zmedico@gentoo.org>
Thu, 29 Nov 2007 06:06:08 +0000 (06:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 29 Nov 2007 06:06:08 +0000 (06:06 -0000)
commit332af2d11866a7a1e4d2d22a84c6dbfffd794de6
tree899f27ea7c1145a5fc1d8b5edb4a85c8b732a1ff
parent9b9ada2d7ab45567fa063321cfa243963214c37c
When portage reinstalls itself, copy both the bin and pym
directories to a temp dir. Insert the temporary PORTAGE_PYM_PATH
as the first element of sys.path and register an atexit hook to
clean up the temporary directories.

svn path=/main/trunk/; revision=8743
pym/portage/dbapi/vartree.py