Move registration of the close_portdbapi_caches() exit hook from the
authorZac Medico <zmedico@gentoo.org>
Sat, 4 Sep 2010 05:39:15 +0000 (22:39 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 4 Sep 2010 05:39:15 +0000 (22:39 -0700)
commitce3f72b79f21e96003e075cb2f08faf8787df7da
treebcd9ddf02f3e7e7f99243d5b36ca64726b644425
parentce139b6d93eb3275b5066d1463ee0aeb151868d7
Move registration of the close_portdbapi_caches() exit hook from the
portage base module to the portree module, so that the base portage
module can be imported without triggering import of the portage.process
(for atexit_register) and portage.dbapi.porttree modules. Also, don't
bother to commit the mtimedb in the exit hook since it's not really
needed.
pym/portage/__init__.py
pym/portage/dbapi/porttree.py