From 451180884b25f9795715878181c5e45bceb4959e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 18 Aug 2009 07:19:29 +0000 Subject: [PATCH] Use the new portage.output._init(config_root) function. svn path=/main/trunk/; revision=14089 --- pym/_emerge/actions.py | 2 +- pym/portage/__init__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 25c82323e..c87665ed2 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2596,7 +2596,7 @@ def load_emerge_config(trees=None): mtimedbfile = os.path.join("/", portage.CACHE_PATH.lstrip(os.path.sep), "mtimedb") mtimedb = portage.MtimeDB(mtimedbfile) - + portage.output._init(config_root=settings['PORTAGE_CONFIGROOT']) return settings, trees, mtimedb def chk_updated_cfg_files(target_root, config_protect): diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 7d70ecd9e..50e966644 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -8805,6 +8805,7 @@ def init_legacy_globals(): break root = settings["ROOT"] + output._init(config_root=settings['PORTAGE_CONFIGROOT']) # ======================================================================== -- 2.26.2