Use the new portage.output._init(config_root) function.
authorZac Medico <zmedico@gentoo.org>
Tue, 18 Aug 2009 07:19:29 +0000 (07:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 18 Aug 2009 07:19:29 +0000 (07:19 -0000)
svn path=/main/trunk/; revision=14089

pym/_emerge/actions.py
pym/portage/__init__.py

index 25c82323e5637bb2d33238d0de181489e97e51c5..c87665ed2987a21721baaed5ce0a75914e3010a0 100644 (file)
@@ -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):
index 7d70ecd9e02a18af20bec38d238de27df1e9a572..50e9666445ff0d19b9655eb3d2193e7cd5f14cdc 100644 (file)
@@ -8805,6 +8805,7 @@ def init_legacy_globals():
                        break
 
        root = settings["ROOT"]
+       output._init(config_root=settings['PORTAGE_CONFIGROOT'])
 
 
        # ========================================================================