diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-18 04:05:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-18 04:05:10 +0000 |
commit | b7bc0be80c741ba8e6f6f2b67e9d18728229baba (patch) | |
tree | 78b8bbb9b63ab4d30f8ca8a039124da6d889ada4 /pym/_emerge/actions.py | |
parent | 0816e0db36fbc5898278a34bf2249975bc99da30 (diff) | |
download | portage-b7bc0be80c741ba8e6f6f2b67e9d18728229baba.tar.gz portage-b7bc0be80c741ba8e6f6f2b67e9d18728229baba.tar.bz2 portage-b7bc0be80c741ba8e6f6f2b67e9d18728229baba.zip |
Call config._init_dirs() from emerge so that it's not called every time
the portage api is imported. (trunk r14631)
svn path=/main/branches/2.1.7/; revision=14659
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r-- | pym/_emerge/actions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index faaf3f845..9ae7f0982 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2420,6 +2420,7 @@ def load_emerge_config(trees=None): for root, root_trees in trees.items(): settings = root_trees["vartree"].settings + settings._init_dirs() setconfig = load_default_config(settings, root_trees) root_trees["root_config"] = RootConfig(settings, root_trees, setconfig) |