summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-18 07:19:29 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-18 07:19:29 +0000
commit451180884b25f9795715878181c5e45bceb4959e (patch)
tree629149d09b7e5488b737e885710093cfeb1186ed
parentd5f27a3b65fda21c64291a9340fdacb7ad301b8a (diff)
downloadportage-451180884b25f9795715878181c5e45bceb4959e.tar.gz
portage-451180884b25f9795715878181c5e45bceb4959e.tar.bz2
portage-451180884b25f9795715878181c5e45bceb4959e.zip
Use the new portage.output._init(config_root) function.
svn path=/main/trunk/; revision=14089
-rw-r--r--pym/_emerge/actions.py2
-rw-r--r--pym/portage/__init__.py1
2 files changed, 2 insertions, 1 deletions
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'])
# ========================================================================